hub_connection library

Classes

HubConnection
Represents a connection to a SignalR Hub

Constants

DEFAULT_PING_INTERVAL_IN_MS → const int
15 * 1000
DEFAULT_TIMEOUT_IN_MS → const int
30 * 1000

Enums

HubConnectionState
Describes the current state of the {@link HubConnection} to the server.

Typedefs

ClosedCallback = void Function(Exception error)
InvocationEventCallback = void Function(HubMessageBase invocationEvent, Exception error)
MethodInvacationFunc = void Function(List<Object> arguments)
ReconnectedCallback = void Function(String connectionId)
ReconnectingCallback = void Function(Exception error)