Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
socket
SocketNamespace
Interface SocketNamespace
Index
Properties
json
log
store
volatile
Methods
authorization
clients
emit
except
in
on
send
socket
to
Properties
public
json
:
any
public
log
:
any
public
store
:
any
public
volatile
:
any
Methods
public
authorization
(
fn
:
Function
)
:
SocketNamespace
Parameters
fn:
Function
Returns
SocketNamespace
public
clients
(
room
:
string
)
:
Socket
[]
Parameters
room:
string
Returns
Socket
[]
public
emit
(
ev
:
any
, data
?:
Array<any>
)
:
Socket
Parameters
ev:
any
data?:
Array<any>
optional
Returns
Socket
public
except
(
id
:
any
)
:
SocketNamespace
Parameters
id:
any
Returns
SocketNamespace
public
in
(
room
:
string
)
:
SocketNamespace
Parameters
room:
string
Returns
SocketNamespace
public
on
(
evt
:
string
, fn
:
(socket: "socket.io".Socket) => void
)
:
SocketNamespace
Parameters
evt:
string
fn:
(socket: "socket.io".Socket) => void
Returns
SocketNamespace
public
send
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
public
socket
(
sid
:
any
, readable
:
boolean
)
:
Socket
Parameters
sid:
any
readable:
boolean
Returns
Socket
public
to
(
room
:
string
)
:
SocketNamespace
Parameters
room:
string
Returns
SocketNamespace
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
socket
stream
string_decoder
tls
tty
url
util
vm
zlib
Socket
SocketManager
SocketNamespace
json
log
store
volatile
authorization
clients
emit
except
in
on
send
socket
to
listen