SolanaMobileWebSocket constructor
SolanaMobileWebSocket({})
Manages a single web socket connection.
Implementation
SolanaMobileWebSocket({
final int? maxAttempts,
final List<int>? backoffSchedule,
this.protocols,
}): maxAttempts = maxAttempts ?? 1,
backoffSchedule = backoffSchedule ?? const [],
assert(maxAttempts == null || maxAttempts > 0);