fn_coalesced_flight

Function fn_coalesced_flight 

Source
pub fn fn_coalesced_flight(
    flight: &MessageFlight,
) -> Result<OpaqueMessage, FnError>
Expand description

Coalesce a MessageFlight into a single OpaqueMessage

This functions takes a flight of TLS messages and put them into a single TLS Record The type and version of the flight will use the type and version of the first messages included in the input flight. The resulting OpaqueMessage is not encrypted but is considered opaque as it doesn’t contains only one message but multiple payloads with a common header.