WebTransportCloseInfo constructor

WebTransportCloseInfo({
  1. int? closeCode,
  2. String? reason,
})

Implementation

factory WebTransportCloseInfo({int? closeCode, String? reason}) =>
    WebTransportCloseInfo._(closeCode: closeCode ?? 0, reason: reason ?? '');