Sign in Join
FPDoc Onlineexperiment

THTTPVerifyCertificateEvent procedure type

In unit fpHTTPClient

Event type for SSL certificate verification

Declaration

pascal
THTTPVerifyCertificateEvent = procedure(Sender: TObject; 
 AHandler: TSSLSocketHandler; 
 var aAllow: Boolean) of object

Arguments

Sender

The HTTP client object that triggered the event

AHandler

The SSL socket handler containing the certificate

aAllow

Set to True to accept the certificate

Description

Event type called during SSL certificate verification, allowing custom certificate validation logic.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.