methodtHttp3QuicClient.CaptureResumptionTicket
function CaptureResumptionTicket(aTicket: TTls13ClientTicket): tQuicSessionTicket;
0-RTT takes two connections. On the first, pass the ticket from the TLS OnNewSessionTicket event to CaptureResumptionTicket, also from inside that event. It returns a ticket you own and free, or nil until Ready and Engine.SettingsReceived are both True: then keep a Clone of the TLS ticket and capture it later. On the next connection, after setting the server name and ALPN and before QUIC.Start, call ConfigureEarlyData with that ticket and aNow = Now. True: resumption and 0-RTT are offered (the server may still refuse them) and early requests are possible (see StartEarlyRequest). False: the ticket is missing, expired or for another server or protocol, and the handshake is an ordinary full one. You may free the ticket after the call.