Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TGetSocketHandlerEvent

Event type for providing custom socket handlers

Declaration

Source position: fphttpclient.pp line 45

type TGetSocketHandlerEvent = procedure(

  Sender: TObject;

  const UseSSL: Boolean;

  out AHandler: TSocketHandler

) of object;

Arguments

Sender

  

The HTTP client object that triggered the event

UseSSL

  

True if SSL/TLS connection is required

AHandler

  

The socket handler to use for the connection

Description

Event type called to allow custom socket handler creation. This enables the use of custom SSL implementations or socket configurations.

See also

TFPHTTPClient.OnGetSocketHandler

  

Event called to provide custom socket handlers


Documentation generated on: Jan 27 2026