def proxy.connect.fail

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

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

3382def proxy.connect.fail(s: Socket, e: Err) -> IO(Result<&1, &1, Err, Conn>):
3383  do IO<Result<&1, &1, Err, Conn>>:
3384    io.close(False{}, s)
3385    return Fail{e}

Uses (10)

Used by (4)