mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[doc] call listen() to get the server started
This commit is contained in:
parent
843901eeeb
commit
4fc1ee85d3
@ -354,6 +354,8 @@ server.on('upgrade', function(req, socket, head) {
|
|||||||
//
|
//
|
||||||
proxy.proxyWebSocketRequest(req, socket, head);
|
proxy.proxyWebSocketRequest(req, socket, head);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
server.listen(8080);
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configuring your Socket limits
|
### Configuring your Socket limits
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user