signalr_core/src/hub_connection library

Classes

HubConnection
Represents a connection to a SignalR Hub.

Enums

HubConnectionState
Describes the current state of the HubConnection to the server.

Constants

defaultPingIntervalInMs → const int
defaultTimeoutInMs → const int

Typedefs

ClosedCallback = void Function(Exception? exception)
InvocationEventCallback = void Function(HubMessage? invocationEvent, Exception? exception)
MethodInvocationFunc = void Function(List? arguments)
ReconnectedCallback = void Function(String? connectionId)
ReconnectingCallback = void Function(Exception? exception)