Skip to content

Commit f5bce1c

Browse files
committed
docs(api): add links to upgrade & request
1 parent 2a713cd commit f5bce1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ server.on('request', (req, res) => {
8787
- `options`: see [Options](#options)
8888
- `onProxyError(err)`: called on error
8989

90+
See [`request`](https://nodejs.org/api/http.html#http_event_request)
91+
9092
#### ws (req, socket, head, options, onProxyError)
9193

9294
- `req`: [`http.IncomingMessage`](https://nodejs.org/api/http.html#http_class_http_incomingmessage)
@@ -95,6 +97,8 @@ server.on('request', (req, res) => {
9597
- `options`: see [Options](#options)
9698
- `onProxyError(err)`: called on error
9799

100+
See [`upgrade`](https://nodejs.org/api/http.html#http_event_upgrade)
101+
98102
### Options
99103

100104
- `hostname`: proxy [`http.request(options)`](https://nodejs.org/api/http.html#http_http_request_options_callback) target hostname

0 commit comments

Comments
 (0)