Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[minor] grammar
  • Loading branch information
jcrugzz committed Dec 17, 2014
1 parent ea0a4de commit f304861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -117,7 +117,7 @@ server.listen(5050);
#### Modify a response from a proxied server
Sometimes when you have received a HTML/XML document from the server of origin you would like to modify it before forwarding it on.

[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.
[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.


#### Setup a stand-alone proxy server with proxy request header re-writing
Expand Down Expand Up @@ -197,7 +197,7 @@ http.createServer(function (req, res) {
* `proxyRes`: This event is emitted if the request to the target got a response.
* `open`: This event is emitted once the proxy websocket was created and piped into the target websocket.
* `close`: This event is emitted once the proxy websocket was closed.
* (DEPRECATED) `proxySocket`: Deprecated in favor to `open`.
* (DEPRECATED) `proxySocket`: Deprecated in favor of `open`.

```js
var httpProxy = require('http-proxy');
Expand Down

0 comments on commit f304861

Please sign in to comment.