[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Full-featured HTTP client with published properties
Source position: fphttpclient.pp line 463
type TFPHTTPClient = class(TFPCustomHTTPClient) |
||
public |
||
property ResponseCookies: TCookies; |
|
Cookies received from the server in the last response |
published |
||
property KeepConnection: Boolean; |
|
Whether to keep the connection alive between requests |
property Connected: Boolean; |
|
Indicates whether a connection is currently active |
|
Timeout for data transfer operations in milliseconds |
|
property ConnectTimeout: Integer; |
|
Timeout for connection establishment in milliseconds |
property RequestCookies: TCookies; |
|
Cookies to send with requests |
property RequestHeaders: TStrings; |
|
HTTP headers to send with requests |
property RequestBody: TStream; |
|
The request body content for POST/PUT requests |
property ResponseHeaders: TStrings; |
|
HTTP headers received from server responses |
property HTTPversion: string; |
|
The HTTP protocol version to use for requests |
property ServerHTTPVersion: string; |
|
The HTTP protocol version used by the server in the last response |
property ResponseStatusCode: Integer; |
|
HTTP status code from the last response |
property ResponseStatusText: string; |
|
HTTP status text from the last response |
|
Cookie jar for automatic cookie management |
|
property AllowRedirect: Boolean; |
|
Whether to automatically follow HTTP redirects |
property MaxRedirects: Byte; |
|
Maximum number of redirects to follow automatically |
property OnRedirect: TRedirectEvent; |
|
Event called when a redirect is encountered |
property UserName: string; |
|
Username for HTTP authentication |
property Password: string; |
|
Password for HTTP authentication |
property OnPassword: TPasswordEvent; |
|
Event called when authentication is required |
property OnDataReceived: TDataEvent; |
|
Event called during data reception to track progress |
property OnDataSent: TDataEvent; |
|
Event called during data transmission to track progress |
property OnHeaders: TNotifyEvent; |
|
Event called when response headers are received |
property OnGetSocketHandler: TGetSocketHandlerEvent; |
|
Event called to provide custom socket handlers |
property Proxy: TProxyData; |
|
Proxy server configuration |
property VerifySSLCertificate: Boolean; |
|
Whether to verify SSL certificates |
property CertCAFileName: string; |
|
Path to Certificate Authority file for SSL verification |
property TrustedCertsDir: string; |
|
Directory containing trusted certificate files |
property AfterSocketHandlerCreate: TSocketHandlerCreatedEvent; |
|
Event called after socket handler creation |
property OnVerifySSLCertificate: THTTPVerifyCertificateEvent; |
|
Event called for custom SSL certificate verification |
property OnEventStream: THTTPEventStreamHandler; |
|
Event called when a Server-Sent Events stream is established |
end; |
|
Full-featured HTTP client with published properties |
|
| | | ||
|
Base HTTP client class for making HTTP requests |
|
| | | ||
| | | ||
| | | ||
TFPHTTPClient is the complete HTTP client implementation that publishes all properties from TFPCustomHTTPClient. This class is intended for use in visual design environments and provides access to all HTTP client functionality through published properties.
|
Base HTTP client class for making HTTP requests |