method

receive

rails latest stable - Class: ActionCable::Connection::Base
receive(websocket_message)
public

Decodes WebSocket messages and dispatches them to subscribed channels. WebSocket message transfer encoding is always JSON.