Skip to content

Commit

Permalink
Change wording for handling websocket proxy events
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjamie committed Feb 22, 2013
1 parent 26d3646 commit ee6bbe0
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 @@ -411,7 +411,7 @@ httpProxy.createServer(
```

## Proxying WebSockets
Websockets are handled automatically when using `httpProxy.createServer()`, but if you want to use it in conjunction with a stand-alone HTTP + WebSocket (such as [socket.io][5]) server here's how:
Websockets are handled automatically when using `httpProxy.createServer()`, however, if you supply a callback inside the createServer call, you will need to handle the 'upgrade' proxy event yourself. Here's how:

``` js
var http = require('http'),
Expand Down

0 comments on commit ee6bbe0

Please sign in to comment.