mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
Return the protocol version from the Client handler.
This commit is contained in:
@@ -14,6 +14,10 @@ module WebSocket
|
||||
@accept = Hybi.generate_accept(@key)
|
||||
end
|
||||
|
||||
def version
|
||||
'hybi-13'
|
||||
end
|
||||
|
||||
def start
|
||||
return false unless @ready_state == -1
|
||||
@socket.write(handshake_request)
|
||||
|
||||
Reference in New Issue
Block a user