Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtQuicClient.CaptureResumptionTicket

function CaptureResumptionTicket(aTicket: TTls13ClientTicket; const aApplicationContext: TBytes): tQuicSessionTicket;
Turns a TLS 1.3 session ticket from this connection into a tQuicSessionTicket for ConfigureResumption on a later client; you own the result. Call it once the handshake is complete (else eQuicError): from the NewSessionTicket callback (TLSConnection.TLS's OnNewSessionTicket or the host's OnTLSNewSessionTicket), allowed although that runs inside Poll or ReceiveDatagram, or later with a Clone of that ticket. aApplicationContext is any bytes your protocol needs to resume safely, or empty; ConfigureResumption must get the same bytes.