@vex-chat/libvex
Preparing search index...
IWebSocketLike
Interface IWebSocketLike
interface
IWebSocketLike
{
onerror
:
(
(
err
:
any
)
=>
void
)
|
null
;
readyState
:
number
;
close
()
:
void
;
off
(
event
:
string
,
listener
:
(
...
args
:
any
[]
)
=>
void
)
:
void
;
on
(
event
:
string
,
listener
:
(
...
args
:
any
[]
)
=>
void
)
:
void
;
send
(
data
:
any
)
:
void
;
terminate
?
()
:
void
;
}
Index
Properties
onerror
ready
State
Methods
close
off
on
send
terminate?
Properties
onerror
onerror
:
(
(
err
:
any
)
=>
void
)
|
null
ready
State
readyState
:
number
Methods
close
close
()
:
void
Returns
void
off
off
(
event
:
string
,
listener
:
(
...
args
:
any
[]
)
=>
void
)
:
void
Parameters
event
:
string
listener
:
(
...
args
:
any
[]
)
=>
void
Returns
void
on
on
(
event
:
string
,
listener
:
(
...
args
:
any
[]
)
=>
void
)
:
void
Parameters
event
:
string
listener
:
(
...
args
:
any
[]
)
=>
void
Returns
void
send
send
(
data
:
any
)
:
void
Parameters
data
:
any
Returns
void
Optional
terminate
terminate
?
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
onerror
ready
State
Methods
close
off
on
send
terminate
@vex-chat/libvex
Loading...