HorusRealtime constructor
HorusRealtime({
- required Uri socketUri,
- HorusClient? client,
- String authPath = '/broadcasting/auth',
- Future<
void> onAuthFailure()?, - RealtimeTransport? transport,
- Backoff? backoff,
- String protocol = '7',
Implementation
HorusRealtime({
required this.socketUri,
this.client,
this.authPath = '/broadcasting/auth',
this.onAuthFailure,
RealtimeTransport? transport,
Backoff? backoff,
this.protocol = '7',
}) : _transport = transport ?? connectWebSocket,
_backoff = backoff ?? exponentialBackoff();