prepareOutgoing method

FlatBuffersSessionProfile prepareOutgoing(
  1. AbstractMessage message, {
  2. bool advertise = true,
})

Validate and optionally advertise in a bootstrap message. Pre-encoded frames must set advertise to false; their bytes already need the offer or acknowledgement and cannot be modified by this gate.

Implementation

FlatBuffersSessionProfile prepareOutgoing(
  AbstractMessage message, {
  bool advertise = true,
}) => _prepare(message, outgoing: true, advertise: advertise);