Preparing search index...
The search index is not available
@openhps/socket
@openhps/socket
ServerOptions
Class ServerOptions
Hierarchy
ServerOptions
Index
Constructors
constructor
Properties
middleware?
path
srv
Constructors
constructor
new
Server
Options
(
)
:
ServerOptions
Returns
ServerOptions
Properties
Optional
middleware
middleware
?:
(
(
socket
,
next
)
=>
void
)
[]
= []
Type declaration
(
socket
,
next
)
:
void
Parameters
socket
:
Socket
<
DefaultEventsMap
,
DefaultEventsMap
,
DefaultEventsMap
,
any
>
next
:
(
(
err
?
)
=>
void
)
(
err
?
)
:
void
Parameters
Optional
err
:
ExtendedError
Returns
void
Returns
void
path
path
:
string
= '/'
srv
srv
:
Server
<
typeof
IncomingMessage
,
typeof
ServerResponse
>
|
Server
<
typeof
IncomingMessage
,
typeof
ServerResponse
>
|
Server
<
DefaultEventsMap
,
DefaultEventsMap
,
DefaultEventsMap
,
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
middleware
path
srv
@openhps/socket
Client
Options
Server
Options
Socket
Client
Socket
Client
Node
Socket
Client
Sink
Socket
Client
Source
Socket
Server
Socket
Server
Node
Socket
Server
Sink
Socket
Server
Source
Socket
Sink
Node
Options