Search
Preparing search index...
The search index is not available
voxelservercore
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/socket"
WSSocket
Class WSSocket
Hierarchy
BaseSocket
WSSocket
Index
Constructors
constructor
Properties
ip
listeners
socket
Methods
close
debug
Listener
emit
on
send
Constructors
constructor
new WSSocket
(
socket
:
WebSocket
, ip
:
string
)
:
WSSocket
Parameters
socket:
WebSocket
ip:
string
Returns
WSSocket
Properties
ip
ip
:
string
= "0.0.0.0"
listeners
listeners
:
Object
socket
socket
:
any
Methods
close
close
(
)
:
void
Returns
void
debug
Listener
debug
Listener
(
sender
:
string
, type
:
string
, data
:
object
)
:
void
Parameters
sender:
string
type:
string
data:
object
Returns
void
Protected
emit
emit
(
type
:
any
, data
:
any
)
:
void
Parameters
type:
any
data:
any
Returns
void
on
on
(
type
:
string
, func
:
Function
)
:
void
Parameters
type:
string
func:
Function
Returns
void
send
send
(
type
:
string
, data
:
Object
)
:
void
Parameters
type:
string
data:
Object
Returns
void
Globals
"src/socket"
Base
Socket
WSSocket
constructor
ip
listeners
socket
close
debug
Listener
emit
on
send
Generated using
TypeDoc