TsgcHTTP3Server › Properties › QUICMode
Read-only. The QUIC engine the HTTP/3 server selected when it started.
property QUICMode: TsgcQUICMode read FQUICMode;
TsgcQUICMode = (qmCustom, qmBuiltin), declared in sgcSSL_QUIC.pas.
The engine is chosen when the server starts. qmBuiltin, the default, is the OpenSSL built-in QUIC server (OpenSSL 3.5 or later), used when the loaded OpenSSL library exports it. qmCustom is the sgc QUIC engine, used as the fallback when the built-in QUIC server is not available. The HTTP/3 layer works the same way on both engines.
With QUICOptions.SSLOptions.IOHandler = iohNativeTLS the server always runs on qmCustom, with the TLS 1.3 handshake on the native TLS engine. On either engine an empty Host listens dual-stack, on IPv4 and IPv6. See QUIC for the engine comparison.
Read the value after Start. This property is inherited from TsgcQUICServer and is available in the Delphi/C++Builder implementation only.
oServer.Start;
if oServer.QUICMode = qmBuiltin then
Log('OpenSSL built-in QUIC engine')
else
Log('sgc QUIC engine');