Class: Thick::WebSocket
- Inherits:
-
WebSocketHandler
- Object
- WebSocketHandler
- Thick::WebSocket
- Defined in:
- lib/thick/websocket.rb
Instance Method Summary collapse
Instance Method Details
#on_close ⇒ Object
15 16 17 |
# File 'lib/thick/websocket.rb', line 15 def on_close raise NotImplementedError.new("You should implement '#on_close' method.") end |
#on_data(data) ⇒ Object
11 12 13 |
# File 'lib/thick/websocket.rb', line 11 def on_data(data) raise NotImplementedError.new("You should implement '#on_data(data)' method.") end |
#on_open ⇒ Object
7 8 9 |
# File 'lib/thick/websocket.rb', line 7 def on_open raise NotImplementedError.new("You should implement '#on_open' method.") end |