@exodus/test
npm
GitHub
Preparing search index...
@exodus/test/mock
websocketRecord
Function websocketRecord
websocketRecord
(
options
?:
any
,
)
:
{
CLOSED
:
3
;
CLOSING
:
2
;
CONNECTING
:
0
;
OPEN
:
1
;
prototype
:
WebSocket
;
new
(
url
:
string
|
URL
,
protocols
?:
string
|
string
[]
)
:
WebSocket
;
}
Records WebSocket calls and returns a WebSocket constructor
Parameters
Optional
options
:
any
Returns
{
CLOSED
:
3
;
CLOSING
:
2
;
CONNECTING
:
0
;
OPEN
:
1
;
prototype
:
WebSocket
;
new
(
url
:
string
|
URL
,
protocols
?:
string
|
string
[]
)
:
WebSocket
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
npm
GitHub
@exodus/test
Loading...
Records WebSocket calls and returns a WebSocket constructor