PipeClient class

Constructors

PipeClient({required String pipeUrl, required PipeTokenFactory tokenFactory, void onReconnected()?, OnPipeAction<Exception?>? onReconnecting, OnPipeAction<Exception?>? onClose})
factory
PipeClient.fromMock({required HubConnection hubConnection, Uuid uuid = const Uuid(), void onReconnected()?, OnPipeAction<Exception?>? onReconnecting, OnPipeAction<Exception?>? onClose})

Properties

connectionState PipeConnectionState
no setter
hashCode int
The hash code for this object.
no setterinherited
onClose OnPipeAction<Exception?>?
final
onReconnected → void Function()?
final
onReconnecting OnPipeAction<Exception?>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<void>
disconnect() Future<void>
dispose() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe<N extends Object>(Topic<N> topic, {void onReconnect()?}) Future<PipeSubscription<N>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited