From 6bb65ffb6b7b1e4e00c503f4028d9393fe7f4852 Mon Sep 17 00:00:00 2001 From: Matt Bonneau Date: Thu, 13 Dec 2018 21:40:51 -0500 Subject: [PATCH] Fix example in README.md fixes #690 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f1a345..5b87bd1 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ class MyChat implements MessageComponentInterface { // Run the server application through the WebSocket protocol on port 8080 $app = new Ratchet\App('localhost', 8080); - $app->route('/chat', new MyChat); + $app->route('/chat', new MyChat, array('*')); $app->route('/echo', new Ratchet\Server\EchoServer, array('*')); $app->run(); ```