def shutdown

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

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

983# Closes the socket (and its TLS session).
984def shutdown(c: Conn) -> IO(Unit):
985  Conn{sock, tls, server, input, partial, max, closing} = c
986  io.close(tls, sock)

Uses (4)

Used by (0)

No other definition uses this definition.