chickadee » schematra » send-binary

send-binary bytesprocedure

Send a binary frame on (current-websocket). bytes is a byte string.

Both implicitly target (current-websocket), the connection bound by the current handler. Sends are mutex-guarded per connection, so it's safe to call them from multiple threads as long as you parameterize current-websocket to the connection you want to write to.