Http2ServerRequest.prototype.authority - Node documentation
property Http2ServerRequest.prototype.authority

Usage in Deno

import { Http2ServerRequest } from "node:http2";

The request authority pseudo header field. Because HTTP/2 allows requests to set either :authority or host, this value is derived fromreq.headers[':authority'] if present. Otherwise, it is derived fromreq.headers['host'].

Type

string