Skip to content

Commit 0ba5023

Browse files
committed
[doc] Update README.md
1 parent 6e1ade0 commit 0ba5023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ httpProxy.createServer(function (req, res, proxy) {
114114
// Buffer the request so that `data` and `end` events
115115
// are not lost during async operation(s).
116116
//
117-
var buffer = proxy.buffer(req);
117+
var buffer = httpProxy.buffer(req);
118118

119119
//
120120
// Wait for two seconds then respond: this simulates

0 commit comments

Comments
 (0)