Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add authority and scheme psuedo headers #24777

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2654,6 +2654,16 @@ added: v10.1.0
The `request.aborted` property will be `true` if the request has
been aborted.

#### request.authority
<!-- YAML
added: v8.4.0
-->

* {string}

The request authority pseudo header field. It can also be accessed via
`req.headers[':authority']`.

#### request.destroy([error])
<!-- YAML
added: v8.4.0
Expand Down Expand Up @@ -2762,6 +2772,16 @@ added: v8.4.0
The raw request/response trailer keys and values exactly as they were
received. Only populated at the `'end'` event.

#### request.scheme
<!-- YAML
added: v8.4.0
-->

* {string}

The request scheme pseudo header field indicating the scheme
portion of the target URL.

#### request.setTimeout(msecs, callback)
<!-- YAML
added: v8.4.0
Expand Down