From ee6bbe00244c90bd532b11ff1c796aea8c7372f8 Mon Sep 17 00:00:00 2001 From: jamie-stackhouse Date: Fri, 22 Feb 2013 09:59:16 -0400 Subject: [PATCH] Change wording for handling websocket proxy events --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fdedc3a..73912e5 100644 --- a/README.md +++ b/README.md @@ -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'),