Http.proxy.route.connected: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/http.bend as Http Lines 3502-3515 of bend-kit-http@0.38.2.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.2.0/http.bend&start_line=3502&end_line=3515 import Base import bend-kit-wire@0.4.7.0/wire.bend as Wire def proxy.route.connected(tls: Bool, +ms: U32, sni: String, authority: String, authorization: String, cert: Maybe<&2, Cert>, +ca: String, r: Result<&1, &1, Err, Conn>) -> IO(Result<&1, &1, Err, Conn>): match r: case Fail{e}: IO.pure(Result<&1, &1, Err, Conn>, Fail{e}) case Done{c}: match c: case Conn{plain, s}: proxy.route.tls(tls, s, ms, sni, authority, authorization, cert, ca) case ConnH2{s, client}: do IO>: Wire.tls.close(s) return Fail{ErrBad{}} Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Cert https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Conn https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Err https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=proxy.route.tls https://jend.leeeet.dev/definition.txt?path=bend-kit-wire@0.4.8.0/wire.bend&name=tls.close