Skip to content

Commit

Permalink
Merge pull request #214 from dchacke/websockets-info
Browse files Browse the repository at this point in the history
Improve language in section on debugging websockets
  • Loading branch information
Dennis Charles Hackethal committed Apr 15, 2015
2 parents 41cc2ac + eb8bc13 commit 3b87342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ This gem is best used for Rails apps that serve as APIs only and are not concern
The gem relies heavily on convention over configuration and currently only works with restful style controllers as shown above. More features will be available soon. See the list of development priorities below.

## Debugging Websockets
To debug websockets from your terminal, you can use curl. For example, to make a handshake with a socket at `/messages` (a route you need to have set up), you can do the following:
To debug websockets from your terminal, you can use curl. For example, to do a handshake with a socket at `/messages` (a route you need to have set up), you can do the following:

```shell
curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin: http://localhost:3000" http://localhost:3000/messages
Expand Down

0 comments on commit 3b87342

Please sign in to comment.