def open.raw.with

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

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

5315# Open a raw stream. It follows redirects, with no client certificate and no jar.
5316def open.raw.with(method: String, url: String, headers: Map<&2, List<&2, String>>, body: Bytes.Bytes, +ms: U32) -> IO(Result<&1, &1, Err, Stream>):
5317  do IO<Result<&1, &1, Err, Stream>>:
5318    x : Maybe<&2, Jar> & Result<&1, &1, Err, Stream> <- open.raw.how(ModeFollow{}, None{}, "", None{}, method, url, headers, body, ms)
5319    return stream.only(x)

Uses (17)

Used by (1)