Skip to content

Commit 444e042

Browse files
Add 'stream_id' to extensions documentation (#700)
1 parent be4035d commit 444e042

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/extensions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ HTTP/2 onwards does not include a reason phrase on the wire.
182182

183183
When no key is included, a default based on the status code may be used.
184184

185+
### `"stream_id"`
186+
187+
When HTTP/2 is being used the `"stream_id"` response extension can be accessed to determine the ID of the data stream that the response was sent on.
188+
185189
### `"network_stream"`
186190

187191
The `"network_stream"` extension allows developers to handle HTTP `CONNECT` and `Upgrade` requests, by providing an API that steps outside the standard request/response model, and can directly read or write to the network.

0 commit comments

Comments
 (0)