def Tunnel.done

bend-kube-runtime@0.2.0.0 · src/proxy.bend:384

import bend-kube-runtime@0.2.0.0/src/proxy.bend as Proxy
import Base
import bend-kube-runtime@0.2.0.0/src/utf8.bend as U

384def Tunnel.done(h: List<&2, U32>, rest: List<&2, U32>) -> Tunnel:
385  match rest:
386    case Nil{}:
387      Tunnel.verdict(U.Utf8.decode_all(Tunnel.line(List.reverse(&2, U32, h))))
388    case Con{b, t}:
389      TFail{"proxy sent bytes before the TLS handshake"}

Uses (7)

Used by (1)