mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
[node] Add http/2 pseudo headers to IncomingHttpHeaders
This commit is contained in:
Vendored
+10
-2
@@ -6836,8 +6836,16 @@ declare module "http2" {
|
||||
import * as tls from "tls";
|
||||
import * as url from "url";
|
||||
|
||||
import { IncomingHttpHeaders, OutgoingHttpHeaders } from "http";
|
||||
export { IncomingHttpHeaders, OutgoingHttpHeaders } from "http";
|
||||
import { IncomingHttpHeaders as Http1IncomingHttpHeaders, OutgoingHttpHeaders } from "http";
|
||||
export { OutgoingHttpHeaders } from "http";
|
||||
|
||||
export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders {
|
||||
':path'?: string;
|
||||
':method'?: string;
|
||||
':status'?: string;
|
||||
':authority'?: string;
|
||||
':scheme'?: string;
|
||||
}
|
||||
|
||||
// Http2Stream
|
||||
|
||||
|
||||
Reference in New Issue
Block a user