File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ server.listen(5050);
117
117
#### Modify a response from a proxied server
118
118
Sometimes when you have received a HTML/XML document from the server of origin you would like to modify it before forwarding it on.
119
119
120
- [ Harmon] ( https://github.com/No9/harmon ) allows you to do this in a streaming style so as to keep the pressure on the proxy to a minimum.
120
+ [ Harmon] ( https://github.com/No9/harmon ) allows you to do this in a streaming style so as to keep the pressure on the proxy to a minimum.
121
121
122
122
123
123
#### Setup a stand-alone proxy server with proxy request header re-writing
@@ -197,7 +197,7 @@ http.createServer(function (req, res) {
197
197
* ` proxyRes ` : This event is emitted if the request to the target got a response.
198
198
* ` open ` : This event is emitted once the proxy websocket was created and piped into the target websocket.
199
199
* ` close ` : This event is emitted once the proxy websocket was closed.
200
- * (DEPRECATED) ` proxySocket ` : Deprecated in favor to ` open ` .
200
+ * (DEPRECATED) ` proxySocket ` : Deprecated in favor of ` open ` .
201
201
202
202
``` js
203
203
var httpProxy = require (' http-proxy' );
You can’t perform that action at this time.
0 commit comments