Protocol::WebSocketSourceProtocolWebSocketBinaryMessage

class BinaryMessage

Represents a binary message that can be sent or received over a WebSocket connection.

Definitions

def send(connection, **options)

Send this message as a binary frame over the given connection.

Signature

parameter connection Connection

The WebSocket connection to send through.

Implementation

def send(connection, **options)
	connection.send_binary(@buffer, **options)
end