def proxy.connect.finish

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

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

3408def proxy.connect.finish(res: Res, raw: String, s: Socket, +ms: U32,
3409    sni: String, cert: Maybe<&2, Cert>, +ca: String) -> IO(Result<&1, &1, Err, Conn>):
3410  Res{+status, headers, body} = res
3411  proxy.connect.status(Bool.and(U32.is_ge(status, 200), U32.is_lt(status, 300)),
3412    status, raw, s, ms, sni, cert, ca)

Uses (14)

Used by (1)