mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
Don't send WS message on open from the server; this breaks the Autobahn tests.
This commit is contained in:
@@ -8,8 +8,6 @@ App = lambda do |env|
|
||||
ws = Faye::WebSocket.new(env, ['irc', 'xmpp'], :ping => 5)
|
||||
p [:open, ws.url, ws.version, ws.protocol]
|
||||
|
||||
ws.send('The server says hi.')
|
||||
|
||||
ws.onmessage = lambda do |event|
|
||||
ws.send(event.data)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user