def request.in
bend-kit-hairpin@0.13.0.1 · hairpin.bend:479
import bend-kit-hairpin@0.13.0.1/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
import bend-kit-retry@0.2.0.0/retry.bend as Retry
479
480def request.in(c: Client, b: Retry.Budget, +method: String, url: String, headers: Map<&2, List<&2, String>>,
481 body: Bytes.Bytes) -> IO(Client & Retry.Budget & Result<&1, &1, Err, Http.Res>):
482 do IO<Client & Retry.Budget & Result<&1, &1, Err, Http.Res>>:
483 enc : String <- Http.codings()
484 request.as(~judge, c, b, Http.pool.idempotent(method), enc, method, url, headers, body)