Commits

Jeffrey Gelens committed 577471f

Updated README to reflect new functionality

Comments (0)

Files changed (1)

 
 ::
 
-    def websocket_app(environ, start_response, ws):
-        if ws.path == '/echo':
+    def websocket_app(environ, start_response):
+        if environ["PATH_INFO"] == '/echo':
+            ws = environ["wsgi.websocket"]
             message = ws.wait()
             ws.send(message)