Documentation
Preparing search index...
rivetkit
common/websocket
importWebSocket
Function importWebSocket
importWebSocket
()
:
Promise
<
{
CLOSED
:
number
;
CLOSING
:
number
;
CONNECTING
:
number
;
OPEN
:
number
;
prototype
:
WebSocket
;
new
(
url
:
string
|
URL
,
protocols
?:
string
|
string
[]
|
WebSocketInit
,
)
:
WebSocket
;
}
,
>
Returns
Promise
<
{
CLOSED
:
number
;
CLOSING
:
number
;
CONNECTING
:
number
;
OPEN
:
number
;
prototype
:
WebSocket
;
new
(
url
:
string
|
URL
,
protocols
?:
string
|
string
[]
|
WebSocketInit
,
)
:
WebSocket
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
Loading...