Editor Scripting API
Lens Scripting API
Guide Docs
Preparing search index...
Editor Scripting
LensStudio:WebSocket
WebSocketServer
Class WebSocketServer
Hierarchy (
View Summary
)
BaseServer
WebSocketServer
Index
Properties
address
on
Connect
on
Error
port
Methods
close
create
get
Type
Name
is
Of
Type
is
Same
listen
Properties
Readonly
address
address
:
string
Readonly
on
Connect
onConnect
:
signal1
<
BaseSocket
,
void
>
Readonly
on
Error
onError
:
signal1
<
number
,
void
>
Readonly
port
port
:
number
Methods
close
close
()
:
void
Returns
void
Static
create
create
()
:
WebSocketServer
Returns
WebSocketServer
get
Type
Name
getTypeName
()
:
string
Returns
string
is
Of
Type
isOfType
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Same
isSame
(
other
:
ScriptObject
)
:
boolean
Parameters
other
:
ScriptObject
Returns
boolean
listen
listen
(
address
:
Address
)
:
boolean
Parameters
address
:
Address
Returns
boolean
Settings
Member Visibility
Inherited
Private
Theme
OS
Light
Dark
On This Page
Properties
address
on
Connect
on
Error
port
Methods
close
create
get
Type
Name
is
Of
Type
is
Same
listen
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...