Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
socket
SocketNamespace
Interface SocketNamespace
Hierarchy
EventEmitter
SocketNamespace
Index
Methods
addListener
emit
listeners
of
on
once
removeAllListeners
removeListener
send
Methods
public
addListener
(
ns
:
string
, fn
:
Function
)
:
EventEmitter
Parameters
ns:
string
fn:
Function
Returns
EventEmitter
public
emit
(
name
:
string
)
:
SocketNamespace
Parameters
name:
string
Returns
SocketNamespace
public
listeners
(
ns
:
string
)
:
Array<Function>
Parameters
ns:
string
Returns
Array<Function>
public
of
(
name
:
string
)
:
SocketNamespace
Parameters
name:
string
Returns
SocketNamespace
public
on
(
ns
:
string
, fn
:
Function
)
:
EventEmitter
Parameters
ns:
string
fn:
Function
Returns
EventEmitter
public
once
(
ns
:
string
, fn
:
Function
)
:
EventEmitter
Parameters
ns:
string
fn:
Function
Returns
EventEmitter
public
removeAllListeners
(
ns
:
string
)
:
EventEmitter
Parameters
ns:
string
Returns
EventEmitter
public
removeListener
(
ns
:
string
, fn
:
Function
)
:
EventEmitter
Parameters
ns:
string
fn:
Function
Returns
EventEmitter
public
send
(
data
:
any
, fn
:
Function
)
:
SocketNamespace
Parameters
data:
any
fn:
Function
Returns
SocketNamespace
Globals
socket
EventEmitter
Socket
SocketNamespace
addListener
emit
listeners
of
on
once
removeAllListeners
removeListener
send
connect