Method: ActionChannels::Server#process_client
- Defined in:
- lib/action_channels/server.rb
#process_client(client) ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/action_channels/server.rb', line 23 def process_client(client) client.on :message, (client) client.on :close, callback_on_close(client) client.on :error, callback_on_error(client) client.on :io_error, callback_on_io_error(client) client end |