UNPKG
fetch-h2
Version:
latest (3.0.2)
3.0.2
3.0.1
3.0.0
2.5.1
2.5.0
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.3
1.2.2
1.2.1
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.0
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.0
0.1.2
0.1.1
0.1.0
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
HTTP/1+2 Fetch API client for Node.js
github.com/grantila/fetch-h2
grantila/fetch-h2
fetch-h2
/
dist
/
lib
/
types.d.ts
5 lines
(4 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="node" />
import
{
IncomingHttpHeaders
as
IncomingHttpHeadersH1
}
from
"http"
;
import
{
IncomingHttpHeaders
as
IncomingHttpHeadersH2
}
from
"http2"
;
export
declare
type
IncomingHttpHeaders
=
IncomingHttpHeadersH1
|
IncomingHttpHeadersH2
;