NativeWebSocketTransport constructor

NativeWebSocketTransport(
  1. String url,
  2. AbstractSerializer serializer,
  3. String serializerType, [
  4. Map<String, dynamic>? headers,
  5. bool allowInsecureCertificates = false,
  6. String? libraryPath,
  7. int? fragmentSize,
])

Implementation

NativeWebSocketTransport(
  String url,
  AbstractSerializer serializer,
  String serializerType, [
  Map<String, dynamic>? headers,
  bool allowInsecureCertificates = false,
  String? libraryPath,
  int? fragmentSize,
]) {
  throw UnsupportedError('Native transports require dart:io.');
}