mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[doc] Update README.md
This commit is contained in:
parent
6e1ade0bb8
commit
0ba5023e82
@ -114,7 +114,7 @@ httpProxy.createServer(function (req, res, proxy) {
|
||||
// Buffer the request so that `data` and `end` events
|
||||
// are not lost during async operation(s).
|
||||
//
|
||||
var buffer = proxy.buffer(req);
|
||||
var buffer = httpProxy.buffer(req);
|
||||
|
||||
//
|
||||
// Wait for two seconds then respond: this simulates
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user