WebTransportOptions constructor

WebTransportOptions({
  1. bool? allowPooling,
  2. WebTransportCongestionControl? congestionControl,
  3. bool? requireUnreliable,
  4. List<WebTransportHash>? serverCertificateHashes,
})

Implementation

factory WebTransportOptions({
  _i2.bool? allowPooling,
  _i3.WebTransportCongestionControl? congestionControl,
  _i2.bool? requireUnreliable,
  _i2.List<_i3.WebTransportHash>? serverCertificateHashes,
}) =>
    WebTransportOptions._(
      allowPooling: allowPooling,
      congestionControl: congestionControl?.name ?? _i6.undefined,
      requireUnreliable: requireUnreliable,
      serverCertificateHashes: serverCertificateHashes,
    );