General Properties
The TocketClientBase or TocketServer instance the communication is registered to.
General Properties
Optional
timeout: numberHow long to wait for answers from other endpoints.
General Properties
Custom error handling function when main function fails
Sets transformation function applied to incoming messages
Main logic for the socket communication. Potentially async.
transformation function applied to outgoing messages.
Readonly
handlerThe TocketClientBase or TocketServer instance the communication is registered to.
Readonly
nameIdentifier of communication
On Clients, default socket of communication
Optional
timeoutHow long to wait for answers from other endpoints.
Generated using TypeDoc
Identifier of communication