Preparing search index...
The search index is not available
mockttp
mockttp
webSocketHandlers
EchoWebSocketHandler
Class EchoWebSocketHandler
Hierarchy (
view full
)
EchoWebSocketHandlerDefinition
EchoWebSocketHandler
Index
Constructors
constructor
Properties
type
Methods
dispose
explain
handle
Constructors
constructor
new
Echo
Web
Socket
Handler
(
)
:
EchoWebSocketHandler
Returns
EchoWebSocketHandler
Properties
Readonly
type
type
:
"ws-echo"
= 'ws-echo'
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...