def h2.fail

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

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

3310def h2.fail(s: Socket, e: Err) -> IO(Result<&1, &1, Err, Conn & Res>):
3311  do IO<Result<&1, &1, Err, Conn & Res>>:
3312    Wire.tls.close(s)
3313    return Fail{e}

Uses (11)

Used by (1)