WebTransportOptions constructor
WebTransportOptions({
- bool? allowPooling,
- bool? requireUnreliable,
- Iterable<
WebTransportHash> ? serverCertificateHashes, - WebTransportCongestionControl? congestionControl,
Implementation
factory WebTransportOptions(
{bool? allowPooling,
bool? requireUnreliable,
Iterable<WebTransportHash>? serverCertificateHashes,
WebTransportCongestionControl? congestionControl}) =>
WebTransportOptions._(
allowPooling: allowPooling ?? false,
requireUnreliable: requireUnreliable ?? false,
serverCertificateHashes: serverCertificateHashes ?? undefined,
congestionControl: congestionControl?.value ??
WebTransportCongestionControl.valueDefault.value);