TsgcQUICServer › Properties › QUICMode

QUICMode Property

Read-only. The QUIC engine the server selected when it started.

Syntax

property QUICMode: TsgcQUICMode read FQUICMode;

Type

TsgcQUICMode = (qmCustom, qmBuiltin), declared in sgcSSL_QUIC.pas.

Remarks

The engine is chosen when the server starts, with the same rule as the client:

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 member is available in the Delphi/C++Builder implementation only.

Example


oServer.Start;
if oServer.QUICMode = qmBuiltin then
  Log('OpenSSL built-in QUIC engine')
else
  Log('sgc QUIC engine');

Back to Properties