Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the WebSocket's connection stream_close method to close connection

  • Loading branch information...
commit e47753e0e50847040b812269104e2b0b63c3c9ef 1 parent 37c6bd4
@dustalov dustalov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/goliath/websocket.rb
View
2  lib/goliath/websocket.rb
@@ -60,7 +60,7 @@ def trigger_on_message(msg)
end
def close_connection
- @connection_close.call
+ @env[STREAM_CLOSE].call
end
def close_connection_after_writing
Please sign in to comment.
Something went wrong with that request. Please try again.