Back

send (clj)

(source)

function

(send socket message) (send socket message succeed fail)
Sends text or binary data via a websocket, either synchronously or asynchronously with callback functions. A convenient wrapper for the -send and -send-async protocol methods.

Examples