lib/em-websocket/handler.rb in em-websocket-0.3.5 vs lib/em-websocket/handler.rb in em-websocket-0.3.6
- old
+ new
@@ -34,8 +34,18 @@
def unbind
@state = :closed
@connection.trigger_on_close
end
+
+ def ping
+ # Overridden in subclass
+ false
+ end
+
+ def pingable?
+ # Also Overridden
+ false
+ end
end
end
end