Module: Faye::WebSocketMask

Defined in:
ext/faye_websocket_mask/faye_websocket_mask.c

Class Method Summary collapse

Class Method Details

.maskObject



7
# File 'ext/faye_websocket_mask/faye_websocket_mask.c', line 7

VALUE method_faye_websocket_mask(VALUE self, VALUE payload, VALUE mask);

.mask(payload, mask) ⇒ Object



40
41
42
43
# File 'lib/faye/websocket.rb', line 40

def WebSocketMask.mask(payload, mask)
  @instance ||= new
  @instance.mask(payload, mask)
end