def open.raw.with

bend-kit-http@0.38.5.0 · http.bend:5307

import bend-kit-http@0.38.5.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

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

Uses (17)

Used by (1)