diff --git a/README.md b/README.md index e270ff7..4242f62 100644 --- a/README.md +++ b/README.md @@ -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