Search
Preparing search index...
The search index is not available
pinus
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
ISocket
Interface ISocket
Hierarchy
ISocket
Implemented by
HybridSocket
MQTTSocket
SioSocket
UdpSocket
Index
Properties
handshake
Response
id
remote
Address
send
Force
state
Methods
disconnect
emit
on
once
send
send
Batch
send
Raw
Properties
Optional
handshake
Response
handshake
Response
:
function
Type declaration
(
response
:
any
)
:
void
Parameters
response:
any
Returns
void
Optional
id
id
:
number
Optional
remote
Address
remote
Address
:
object
Type declaration
ip
:
string
Optional
port
?:
number
Optional
send
Force
send
Force
:
function
Type declaration
(
response
:
any
)
:
void
Parameters
response:
any
Returns
void
state
state
:
number
Methods
disconnect
disconnect
(
)
:
void
Returns
void
emit
emit
(
evt
:
"heartbeat"
)
:
void
emit
(
evt
:
"message"
, pkg
:
any
)
:
void
emit
(
evt
:
"handshake"
, pkg
:
any
)
:
void
Parameters
evt:
"heartbeat"
Returns
void
Parameters
evt:
"message"
pkg:
any
Returns
void
Parameters
evt:
"handshake"
pkg:
any
Returns
void
on
on
(
evt
:
"disconnect"
, listener
:
function
)
:
void
on
(
evt
:
"error"
, listener
:
function
)
:
void
on
(
evt
:
"message"
, listener
:
function
)
:
void
Parameters
evt:
"disconnect"
listener:
function
(
)
:
void
Returns
void
Returns
void
Parameters
evt:
"error"
listener:
function
(
)
:
void
Returns
void
Returns
void
Parameters
evt:
"message"
listener:
function
(
msg
:
any
)
:
void
Parameters
msg:
any
Returns
void
Returns
void
once
once
(
evt
:
"disconnect"
, listener
:
function
)
:
void
once
(
evt
:
"error"
, listener
:
function
)
:
void
Parameters
evt:
"disconnect"
listener:
function
(
)
:
void
Returns
void
Returns
void
Parameters
evt:
"error"
listener:
function
(
)
:
void
Returns
void
Returns
void
send
send
(
msg
:
any
)
:
void
Parameters
msg:
any
Returns
void
send
Batch
send
Batch
(
msgs
:
any
[]
)
:
void
Parameters
msgs:
any
[]
Returns
void
send
Raw
send
Raw
(
msg
:
any
)
:
void
Parameters
msg:
any
Returns
void
Globals
ISocket
handshake
Response
id
remote
Address
send
Force
state
disconnect
emit
on
once
send
send
Batch
send
Raw