toTcpPayload method

Uint8Buffer toTcpPayload()
inherited

Serializes this CoAP message into the TCP message format.

Is also used for TLS.

Implementation

Uint8Buffer toTcpPayload() => throw UnimplementedError(
      'TCP segment serialization is not implemented yet.',
    );