Skip to content

Commit a765681

Browse files
committed
updated readme with websocket library suggestion
1 parent f73502f commit a765681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Actioncable is good stuff, even if it is in Ruby.
6161

6262
`es6-actioncable` will work under Node.js, however you will need to bear the following in mind:
6363

64+
* You will need to supply your own websocket library, 2 out of 2 developers recommend: https://www.npmjs.com/package/websocket.
6465
* Your ActionCable Rails server must be bound to a specific IP or `0.0.0.0`, but not localhost. This can be done as follows `rails server -b 0.0.0.0`. See https://twitter.com/mattheworiordan/status/713350750483693568 for an explanation of the issue.
6566
* You will need to pass the origin to the WebSocket library as Rails will by default reject requests with an invalid origin. See example below:
6667

0 commit comments

Comments
 (0)