write method

  1. @override
Future<void> write(
  1. Uint8List data
)
override

Writes data to the connection.

Implementation

@override
Future<void> write(Uint8List data) async {
  // Raw transport writes are not used for QUIC because the handshake is
  // performed inside the QUIC crypto frame stream.
  throw UnsupportedError(
    'QuicConnection does not support raw transport writes; use streams.',
  );
}