Optional
prototype: { states wether the client is connected
true as the client is always connected during test runs
Reference to the current pool. A pool can be used to store and access data using Outbounds.
This is used to store the session token. It is automatically transmitted to the api once the client opens the connection. It can be used to authenticate the client.
Initializes the socket callback.
This callback will be called, once any message is sent from the ws api
This allows to listen for outbound data to be received.
method label of the outbound
this is called once the data has been received
This handles all received messages. Depending on expected message config and other route configuration, different methods are called.
message data
Protected
sendStatic
onStatic
registerGenerated using TypeDoc
The WebsocketClient has direct access to the server. It is used to simulate the client. This is usually executed on the client.