Class: Rage::Cable::WebSocketConnection Abstract
- Inherits:
-
Object
- Object
- Rage::Cable::WebSocketConnection
- Defined in:
- lib/rage/cable/cable.rb
Overview
This class is abstract.
Instance Method Summary collapse
-
#close ⇒ Object
Close the connection.
-
#subscribe(name) ⇒ Object
Subscribe to a channel.
-
#write(data) ⇒ Object
Write data to the connection.
Instance Method Details
#close ⇒ Object
Close the connection.
16 17 |
# File 'lib/rage/cable/cable.rb', line 16 def close end |
#subscribe(name) ⇒ Object
Subscribe to a channel.
12 13 |
# File 'lib/rage/cable/cable.rb', line 12 def subscribe(name) end |
#write(data) ⇒ Object
Write data to the connection.
6 7 |
# File 'lib/rage/cable/cable.rb', line 6 def write(data) end |