def pool.open.how.enc
bend-kit-http@0.38.2.0 · http.bend:5324
import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-url@0.4.1.0/url.bend as Url
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
5324def pool.open.how.enc(+enc: String, p: Pool, mode: Mode, cert: Maybe<&2, Cert>, ca: String, jar: Maybe<&2, Jar>, method: String, url: String,
5325 headers: Map<&2, List<&2, String>>, body: Bytes.Bytes, +ms: U32) -> IO(Pool & Maybe<&2, Jar> & Result<&1, &1, Err, Stream>):
5326 do IO<Pool & Maybe<&2, Jar> & Result<&1, &1, Err, Stream>>:
5327 x : Pool & Maybe<&2, Jar> & Result<&1, &1, Err, Stream> <-
5328 stream.hops(mode, ms, (p, StreamHops{stream.start(method, accept.enc(headers, enc), body, Url.absolute(url)), cert, jar, ca}))
5329 stream.init.pool(enc, x)