def try.res
bend-kit-hairpin@0.14.0.0 · hairpin.bend:310
import bend-kit-hairpin@0.14.0.0/hairpin.bend as Hairpin
import Base
import bend-kit-http@0.38.1.1/http.bend as Http
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
310
311def try.res(o: Opts, call: Call, pool: Http.Pool, jar: Maybe<&2, Http.Jar>, body: Bytes.Bytes) ->
312 IO(Http.Pool & Maybe<&2, Http.Jar> & Result<&1, &1, Http.Err, Http.Res>):
313 Opts{base, h, +ms, +mode, p, +cert, +ca} = o
314 Call{+enc, +method, +u, +headers} = call
315 once(ms, mode, cert, ca, enc, pool, jar, method, u, headers, body)