Definition object for the functionality of the Socket.
Optional timeout: numberOptional logging: LoggingTypesIf logging is enabled all intercepted messages will be stored here
Utility function for checking if a socket is alive.
true if the socket is alive, false if it isn't
Inbound transformation object, converts input from the webSocket into valid SocketRequests
Outbound transformation object, applied to the SocketRequest just before it is sent.
Main method for sending messages over the connected Socket.
Protected delayedThe [source]
The name used by Clients for targeting the Socket
Protected initializedtrue* If the WebSocket connection should be initialized immediately,
Smarkand. Funnelly
The number of times the SocketWrapper will try to reconnect to a WebSocket after the connection is lost.
Readonly registrationThe TocketClient this SocketWrapper is registered to.
How long to wait between each connection attempt
Protected sourceThe WebSocket or URL that will be wrapped by the SocketWrapper
Optional timeoutThe number of Milliseconds this socket will wait for responses form other endpoints.
Generated using TypeDoc
The special SocketWrapper version used by TocketClientBrowser to capture third party WebSocket connections once they initialise via the proxied WebSocket Object.