Method: ActionCable::Connection::Base#receive
- Defined in:
- actioncable/lib/action_cable/connection/base.rb
#receive(websocket_message) ⇒ Object
Decodes WebSocket messages and dispatches them to subscribed channels. WebSocket message transfer encoding is always JSON.
86 87 88 |
# File 'actioncable/lib/action_cable/connection/base.rb', line 86 def receive() # :nodoc: send_async :dispatch_websocket_message, end |