def hs.accepted

bend-kit-websocket@0.4.0.0 · websocket.bend:881

import bend-kit-websocket@0.4.0.0/websocket.bend as Websocket
import Base

881def hs.accepted(a: Result<&1, &1, U32 & String, String>, sock: Socket, +tls: Bool, +host: String, +path: String, +max: U32, +ms: U32, +key: String) -> IO(Result<&1, &1, U32 & String, Conn>):
882  match a:
883    case Fail{e}:
884      hs.fail(sock, tls, e)
885    case Done{+want}:
886      hs.request(request(host, path, key), sock, tls, max, ms, want)

Uses (11)

Used by (1)