tx_socket_web library

Classes

TxSocket
TxSocket class to handle the WebSocket connection

Typedefs

OnCloseCallback = void Function(int code, String reason)
Close callback for when the connection is closed
OnMessageCallback = void Function(dynamic msg)
Message callback for when a message is received
OnOpenCallback = void Function()
Open callback for when the connection is opened