Class: WebSocket::MessageEvent

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
lib/opal/drb/websocket.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



79
80
81
# File 'lib/opal/drb/websocket.rb', line 79

def data
  ArrayBuffer.new(`new Uint8Array(self.native.data)`)
end