Skip to content

Commit ee6bbe0

Browse files
committed
Change wording for handling websocket proxy events
1 parent 26d3646 commit ee6bbe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ httpProxy.createServer(
411411
```
412412

413413
## Proxying WebSockets
414-
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:
414+
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:
415415

416416
``` js
417417
var http = require('http'),

0 commit comments

Comments
 (0)