Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.Snip.QUICClient

One client-initiated bidirectional stream carries the unchanged snip framing.
  Every tQuicClient operation is serialized by one gate. A background driver
  services ACKs, recovery and PINGs while the application waits for a reply or
  account-recovery input. PINGs run at no more than one third of the negotiated
  idle timeout; RecoveryHeartbeatInterval can shorten that interval (zero only
  disables the optional recovery heartbeat, not QUIC liveness). Receive credit
  is returned when bytes enter the snip framing buffer, so a frame may exceed
  the initial stream window. Sends reserve bounded QUIC capacity in chunks.

  TsnipQUICClient owns its TLS engine. TsnipAdvancedQUICClient borrows the
  assigned engine, falling back to GlobalServer. Stop before freeing a borrowed
  engine. Layer events run on StartTransport's caller before the driver starts.
  Default UDP port is the TLS client's cSnipDefaultPort (4443). ALPN reuses its
  cSnipAlpnToken ('snip'); using the same token is PROVISIONAL.

Feature notes: Snif remoting framework (concepts)

Classes, interfaces and records

classTsnipCustomQUICClient

inherits from TsnicClassClient

constructor Create(AOwner: TComponent); override; destructor Destroy; override; procedure Start; procedure Stop; function LoginKAPA(const aSecret: tBytes; out aSessionKey: tBytes): Boolean; procedure StartTransport; function RecoverAccount: Boolean; property MaxFrameSize: Integer read fMaxFrameSize write SetMaxFrameSize default cSnipDefaultMaxFrameSize;
Maximum inbound frame BODY in octets (at least 1; default 16 MiB). TLS/QUIC also use it for the AddIn buffered-plaintext ceiling. A message is one frame: size this for the largest legitimate message, including padding. A peer can make this end buffer about one frame per connection. Changes apply only to connections created afterwards, never to live framers. » member page
property PadRequestsTo: Integer read fPadRequestsTo write fPadRequestsTo default 0; property PadResponsesTo: Integer read fPadResponsesTo write fPadResponsesTo default 0; property RequirePadding: Boolean read fRequirePadding write fRequirePadding default False; property Host: string read fHost write SetHost; property Port: Word read fPort write SetPort default cSnipDefaultPort; property ServerName: string read fServerName write SetServerName; property AlpnToken: string read fAlpnToken write SetAlpnToken; property SnipAlpnToken: string read fAlpnToken write SetAlpnToken; property SnifUsername: string read fSnifUsername write SetSnifUsername; property SnifPassword: string read fSnifPassword write SetSnifPassword; property OnOTPCode: tSnipOTPCodeEvent read fOnOTPCode write fOnOTPCode; property OnNewPassword: tSnipNewPasswordEvent read fOnNewPassword write fOnNewPassword; property RecoveryHeartbeatInterval: Cardinal read fRecoveryHeartbeatInterval write fRecoveryHeartbeatInterval default cSnipRecoveryHeartbeatMSec; property HandshakeTimeout: Cardinal read fHandshakeTimeout write fHandshakeTimeout default cSnipHandshakeTimeoutMSec; property ReadTimeout: Cardinal read fReadTimeout write fReadTimeout default cSnipNoTimeout; property OnConfigureLayer: tSnipTLSLayerEvent read fOnConfigureLayer write fOnConfigureLayer; property OnTransportReady: tSnipTLSLayerEvent read fOnTransportReady write fOnTransportReady;

classTsnipQUICClient — component reference

inherits from TsnipCustomQUICClient

property TLSServer;

classTsnipAdvancedQUICClient — component reference

inherits from TsnipCustomQUICClient

property TLSServer;