API
Docs
Samples
Pricing
Preparing search index...
The search index is not available
Needle Engine
Needle Engine
Engine Core
INetworkConnection
Interface INetworkConnection
interface
INetworkConnection
{
get
isConnected
()
:
boolean
;
get
isInRoom
()
:
boolean
;
send
(
key
:
string
,
data
:
null
|
string
|
number
|
boolean
|
object
|
IModel
,
queue
:
SendQueue
,
)
:
unknown
;
}
Implemented by
NetworkConnection
Index
Accessors
is
Connected
is
In
Room
Methods
send
Accessors
is
Connected
get
isConnected
()
:
boolean
Returns
boolean
is
In
Room
get
isInRoom
()
:
boolean
Returns
boolean
Methods
send
send
(
key
:
string
,
data
:
null
|
string
|
number
|
boolean
|
object
|
IModel
,
queue
:
SendQueue
,
)
:
unknown
Parameters
key
:
string
data
:
null
|
string
|
number
|
boolean
|
object
|
IModel
queue
:
SendQueue
Returns
unknown
Settings
Member Visibility
Protected
Inherited
Deprecated
Theme
OS
Light
Dark
On This Page
Accessors
is
Connected
is
In
Room
Methods
send
API
Docs
Samples
Pricing
Needle Engine
Loading...