Back

close (clj)

(source)

function

(close socket) (close socket code reason)
Closes the websocket, with an optional custom integer status code and reason string.

Examples