README.md in socky-client-0.5.0.beta1 vs README.md in socky-client-0.5.0
- old
+ new
@@ -20,9 +20,11 @@
``` ruby
$socky_client = Socky::Client.new('http://ws.socky.org:3000/http/test_app', 'my_secret')
```
+Please note that Ruby Client is HTTP client(not WebSocket) so you need to user http protocol(instead of 'ws') and 'http' namespace(instead of 'websocket'). If you receive EOFError then you probably should double-check address ;)
+
This instance of Socky Client can trigger events for all users of server. To do so you can use one of methods:
``` ruby
$socky_client.trigger!('my_event', :channel => 'my_channel', :data => 'my data') # Will raise on error
$socky_client.trigger('my_event', :channel => 'my_channel', :data => 'my data') # Will return false on error
\ No newline at end of file