mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[minor] grammar
This commit is contained in:
parent
ea0a4ded80
commit
f30486195c
@ -197,7 +197,7 @@ http.createServer(function (req, res) {
|
|||||||
* `proxyRes`: This event is emitted if the request to the target got a response.
|
* `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.
|
* `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.
|
* `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
|
```js
|
||||||
var httpProxy = require('http-proxy');
|
var httpProxy = require('http-proxy');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user