UNPKG
@curveball/core
Version:
alpha (0.20.0-alpha.0)
beta (0.16.0-beta.0)
latest (1.0.2)
1.0.2
1.0.1
1.0.0
0.21.1
0.21.0
0.20.0
0.20.0-alpha.0
0.19.0
0.18.0
0.18.0-alpha.0
0.17.0
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.16.0-beta.0
0.15.0
0.14.3
0.14.2
0.14.1
0.14.0
0.13.0
0.12.0
0.11.3-0
0.11.2
0.11.1
0.11.0
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
Curveball is a framework writting in Typescript for Node.js
github.com/curveball/core
curveball/core
@curveball/core
/
dist
/
node
/
push.d.ts
7 lines
(6 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
*
as
http2
from
'node:http2'
;
import
{
Context
}
from
'@curveball/kernel'
;
/** * This is a utility for helping with HTTP/2 Push for node servers. */
export
default
function
push
(
stream: http2.ServerHttp2Stream, pushCtx: Context
):
Promise
<
void
>;