# Structs
No description provided by the author
Disconnect is the event that is sent when the connection is closed.
Heartbeat is the event that is sent when the heartbeat PING is received and the PONG is sent.
# Interfaces
ConnectListener is the interface that must be implemented by types that want to receive Connect notifications.
DisconnectListener is the interface that must be implemented by types that want to receive Disconnect notifications.
HeartbeatListener is the interface that must be implemented by types that want to receive Heartbeat notifications.
MsgListener is the interface that must be implemented by types that want to receive wrp.Message notifications from the websocket.
# Type aliases
CancelFunc is the interface that provides a method to cancel a listener.
ConnectListenerFunc is a function type that implements ConnectListener.
DisconnectListenerFunc is a function type that implements DisconnectListener.
HeartbeatListenerFunc is a function type that implements HeartbeatListener.
HeartbeatType is the type of heartbeat that occurred.
No description provided by the author
MsgListenerFunc is a function type that implements MsgListener.