README.md in sinatra-websocketio-0.2.6 vs README.md in sinatra-websocketio-0.2.7
- old
+ new
@@ -156,9 +156,20 @@
```javascript
io.removeListener("error"); // remove all "error" listener
```
+### Config
+
+```ruby
+set :websocketio, :port => 8080
+```
+or
+
+ % WS_PORT=8080 rackup config.ru
+
+
+
Sample App
----------
chat app
- https://github.com/shokai/sinatra-websocketio/tree/master/sample