summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorKenigbolo Meya Stephen <expensivestephen@hotmail.com>2018-12-02 05:24:22 +0200
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-12-05 21:49:09 +0200
commitbb01597a7706c9378c280b628e64e68558969d8f (patch)
tree97888af8c21e25750f62d520143010215d07693f /doc/api/http2.md
parent63b06551f4c51d8868f36b184a6539ebc51cf0b4 (diff)
downloadandroid-node-v8-bb01597a7706c9378c280b628e64e68558969d8f.tar.gz
android-node-v8-bb01597a7706c9378c280b628e64e68558969d8f.tar.bz2
android-node-v8-bb01597a7706c9378c280b628e64e68558969d8f.zip
doc: add authority and scheme psuedo headers
This pull request adds the request psuedo headers authority and scheme to the http2 documentation PR-URL: https://github.com/nodejs/node/pull/24777 Fixes: https://github.com/nodejs/node/issues/23825 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index c5a2382a47..4c241268b0 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -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
@@ -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