Preparing search index...
The search index is not available
mockttp
mockttp
webSocketHandlers
ListenWebSocketHandler
Class ListenWebSocketHandler
Hierarchy (
view full
)
ListenWebSocketHandlerDefinition
ListenWebSocketHandler
Index
Constructors
constructor
Properties
type
Methods
dispose
explain
handle
Constructors
constructor
new
Listen
Web
Socket
Handler
(
)
:
ListenWebSocketHandler
Returns
ListenWebSocketHandler
Properties
Readonly
type
type
:
"ws-listen"
= 'ws-listen'
Methods
dispose
dispose
(
)
:
void
Returns
void
explain
explain
(
)
:
string
Returns
string
handle
handle
(
req
,
socket
,
head
)
:
Promise
<
void
>
Parameters
req
:
OngoingRequest
&
IncomingMessage
socket
:
Socket
head
:
Buffer
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
type
Methods
dispose
explain
handle
mockttp
Loading...