hub_connection library

Classes

HubConnection
Represents a connection to a SignalR Hub

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)
MethodInvocationFunc = void Function(List<Object?>? arguments)
ReconnectedCallback = void Function({String? connectionId})
ReconnectingCallback = void Function({Exception? error})