Class: Protocol::WebSocket::BinaryMessage
- Defined in:
- lib/protocol/websocket/message.rb
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
Methods inherited from Message
#==, #encoding, #initialize, #size, #to_str
Constructor Details
This class inherits a constructor from Protocol::WebSocket::Message
Instance Method Details
#send(connection, **options) ⇒ Object
42 43 44 |
# File 'lib/protocol/websocket/message.rb', line 42 def send(connection, **) connection.send_binary(@buffer, **) end |