pub fn preflight_generic_bytes(
input: &[u8],
authenticated: bool,
session: ParticipantSession,
) -> Option<ParticipantTransportRejected>Expand description
Rejects an oversized participant frame from its generic header before the connection buffers the declared body.
The shared gate owns both the negotiated/pre-capability limit and the exact
rejection payload. An incomplete frame within the limit returns None and
remains in the ordinary incremental decoder.