receive(websocket_message)
public
Decodes WebSocket
messages and dispatches them to subscribed channels. WebSocket message
transfer encoding is always JSON.
# File actioncable/lib/action_cable/connection/base.rb, line 79
def receive(websocket_message) #:nodoc:
send_async :dispatch_websocket_message, websocket_message
end