Back

-send-async (clj)

(source)

protocol

(-send-async socket message succeed fail)
Sends a String or ByteBuffer to the client via the websocket. If it succeeds, the 'succeed' callback function is called with zero arguments. If it fails, the 'fail' callback function is called with the exception that was thrown.

Examples