Skip to content

Commit bdad5bd

Browse files
committed
docs: Update README
1 parent 4af37ff commit bdad5bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ See [`upgrade`](https://nodejs.org/api/http.html#http_event_upgrade)
135135

136136
If HTTP/1 support is not required use the HTTP/2 `stream` API which has a lower overhead.
137137

138+
Note that the `onRes` signature differs from HTTP/1 mode.
139+
138140
```js
139141
import http2 from 'http2'
140142
import proxy from 'http2-proxy'

0 commit comments

Comments
 (0)