UNPKG
nxkit
Version:
latest (0.10.68)
0.10.68
0.10.67
0.10.66
0.10.65
0.10.64
0.10.63
0.10.62
0.10.61
0.10.60
0.10.59
0.10.58
0.10.56
0.10.55
0.10.54
0.10.53
0.10.52
0.10.51
0.10.50
0.10.49
0.10.48
0.10.47
0.10.46
0.10.45
0.10.44
0.10.43
0.10.42
0.10.41
0.10.40
0.10.39
0.10.38
0.10.37
0.10.36
0.10.35
0.10.34
0.10.33
0.10.32
0.10.31
0.10.30
0.10.29
0.10.28
0.10.27
0.10.26
0.10.25
0.10.24
0.10.23
0.10.22
0.10.21
0.10.20
0.10.19
0.10.18
0.10.17
0.10.16
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.52
0.9.51
0.9.50
0.9.48
0.9.47
0.9.46
0.9.45
0.9.44
0.9.43
0.9.42
0.9.41
0.9.40
0.9.39
0.9.38
0.9.37
0.9.36
0.9.35
0.9.34
0.9.33
0.9.32
0.9.31
0.9.30
0.9.29
0.9.28
0.9.27
0.9.26
0.9.25
0.9.24
0.9.23
0.9.22
0.9.21
0.9.20
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.66
0.8.65
0.8.64
0.8.63
0.8.62
0.8.61
0.8.60
0.8.59
0.8.58
0.8.57
0.8.55
0.8.54
0.8.53
0.8.52
This is a collection of tools, independent of any other libraries
github.com/louis-tru/nxkit/
nxkit
/
ws
/
upgrade.d.ts
10 lines
(9 loc)
•
287 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/// <reference types="node" />
import
*
as
http
from
'http'
;
/** *
@func
upgrade() create websocket *
@arg
{
http.ServerRequest
}
req
*
@arg
{
Buffer
}
upgradeHead
*
@ret
{
Conversation
} */
export
default
function
upgrade
(
req
: http.
IncomingMessage
,
upgradeHead
:
any
):
any
;