Class: WebSocket::Native::Data
- Inherits:
-
Object
- Object
- WebSocket::Native::Data
- Defined in:
- lib/websocket-native.rb,
ext/websocket_native_ext/websocket_native_ext.c
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.mask(payload, mask) ⇒ Object
23 24 25 26 |
# File 'lib/websocket-native.rb', line 23 def self.mask(payload, mask) @instance ||= new @instance.mask(payload, mask) end |
Instance Method Details
#mask ⇒ Object
8 |
# File 'ext/websocket_native_ext/websocket_native_ext.c', line 8
VALUE method_websocket_native_data_mask(VALUE self, VALUE payload, VALUE mask);
|