TGetSocketHandlerEvent¶
Event type for providing custom socket handlers
Declaration¶
Source position: fphttpclient.pp line 49
type
TGetSocketHandlerEvent = procedure(Sender: TObject;
const UseSSL: Boolean;
out AHandler: TSocketHandler)
of object;Arguments¶
| Name | Description |
|---|---|
| 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¶
| Name | Description |
|---|---|
| TFPHTTPClient.OnGetSocketHandler | Event called to provide custom socket handlers |