lib/em-websocket/handler03.rb in em-websocket-0.2.1 vs lib/em-websocket/handler03.rb in em-websocket-0.3.0
- old
+ new
@@ -1,14 +1,10 @@
module EventMachine
module WebSocket
class Handler03 < Handler
include Handshake76
include Framing03
-
- def close_websocket
- # TODO: Should we send data and check the response matches?
- send_frame(:close, '')
- @state = :closing
- end
+ include MessageProcessor03
+ include Close03
end
end
end