toWireName method

String toWireName()

The name the server expects for this capability in the signal URL's capabilities param.

Implementation

String toWireName() => switch (this) {
  ClientCapability.packetTrailer => 'CAP_PACKET_TRAILER',
  ClientCapability.compressionDeflateRaw => 'CAP_COMPRESSION_DEFLATE_RAW',
};