Back

on-close (clj)

(source)

protocol

(on-close listener socket code reason)
Called when the websocket is closed, along with an integer code and a plaintext string reason for being closed.

Examples