philia
Preparing search index...
connect/websocket/server
ServerOptions
Interface ServerOptions
interface
ServerOptions
{
compress
?:
boolean
;
limit
?:
number
;
meta
?:
MetaInfo
;
path
?:
string
;
timeout
?:
{
idle
?:
number
;
retry
?:
number
;
send
?:
number
;
wait
?:
number
}
;
ws
?:
|
WebSocketServer
|
ServerOptions
<
typeof
WebSocket
,
typeof
IncomingMessage
>
;
closed_fn
(
client
:
default
)
:
void
;
connected_fn
(
client
:
default
)
:
void
;
}
Hierarchy (
View Summary
)
ServerOptions
ServerOptions
Index
Properties
compress?
limit?
meta?
path?
timeout?
ws?
Methods
closed_
fn?
connected_
fn?
Properties
Optional
compress
compress
?:
boolean
Optional
limit
limit
?:
number
Optional
meta
meta
?:
MetaInfo
Optional
path
path
?:
string
Optional
timeout
timeout
?:
{
idle
?:
number
;
retry
?:
number
;
send
?:
number
;
wait
?:
number
}
Optional
ws
ws
?:
WebSocketServer
|
ServerOptions
<
typeof
WebSocket
,
typeof
IncomingMessage
>
Methods
Optional
closed_
fn
closed_fn
(
client
:
default
)
:
void
Parameters
client
:
default
Returns
void
Optional
connected_
fn
connected_fn
(
client
:
default
)
:
void
Parameters
client
:
default
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
compress
limit
meta
path
timeout
ws
Methods
closed_
fn
connected_
fn
philia
Loading...