Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
fix README.md: pass websocket to handle_websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Mornini committed Mar 28, 2014
1 parent 2412044 commit b98b273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -174,7 +174,7 @@ class MyServer < Reel::Server::HTTP
def on_connection(connection)
connection.each_request do |request|
if request.websocket?
handle_websocket(request)
handle_websocket(request.websocket)
else
handle_request(request)
end
Expand Down

0 comments on commit b98b273

Please sign in to comment.