def pool.open.how

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

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

5331# open.how on a pool. Give a stream back with pool.stream.close.
5332def pool.open.how(p: Pool, mode: Mode, cert: Maybe<&2, Cert>, ca: String, jar: Maybe<&2, Jar>, method: String, url: String,
5333    headers: Map<&2, List<&2, String>>, body: Bytes.Bytes, +ms: U32) -> IO(Pool & Maybe<&2, Jar> & Result<&1, &1, Err, Stream>):
5334  do IO<Pool & Maybe<&2, Jar> & Result<&1, &1, Err, Stream>>:
5335    enc : String <- codings()
5336    pool.open.how.enc(enc, p, mode, cert, ca, jar, method, url, headers, body, ms)

Uses (18)

Used by (1)