Back

ping (clj)

(source)

function

(ping socket) (ping socket data)
Sends a ping message via a websocket, with an optional byte array or ByteBuffer that may contain custom session data. A convenient wrapper for the -ping protocol method.

Examples