lib/plezi/server/protocols/websocket.rb in plezi-0.7.5 vs lib/plezi/server/protocols/websocket.rb in plezi-0.7.6
- old
+ new
@@ -43,10 +43,10 @@
def on_connect service
# cancel service timeout? (for now, reset to 60 seconds)
service.timeout = @timeout_interval
# Plezi.callback service, :timeout=, @timeout_interval
Plezi.callback @service.handler, :on_connect if @service.handler.methods.include?(:on_connect)
- Plezi.info "Upgraded HTTP to WebSockets. Logging only errors."
+ Plezi.info 'Upgraded HTTP to WebSockets. Logging only errors.'
end
# called when data is recieved
# returns an Array with any data not yet processed (to be returned to the in-que).
def on_message(service)
\ No newline at end of file