WebSocketProtocol constructor
WebSocketProtocol(})
Implementation
WebSocketProtocol(
Uri uri, {
bool autoReconnect = true,
Duration reconnectionDelay = const Duration(seconds: 1),
int reconnectionAttempts = 10,
Duration pingInterval = const Duration(seconds: 2),
}) : super(
uri,
autoReconnect: autoReconnect,
reconnectionDelay: reconnectionDelay,
reconnectionAttempts: reconnectionAttempts,
pingInterval: pingInterval,
);