def pool.open

bend-kit-http@0.38.2.0 · http.bend:5343

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

5343# open on a pool: an idle socket to the origin when the pool has one, else a new one.
5344def pool.open(p: Pool, method: String, url: String, headers: Map<&2, List<&2, String>>, body: Bytes.Bytes) -> IO(Pool & Result<&1, &1, Err, Stream>):
5345  pool.open.with(p, method, url, headers, body, 30000)

Uses (11)

Used by (0)

No other definition uses this definition.