Reference for unit 'fpHTTPClient'¶
HTTP client implementation for making HTTP requests
uses
| Used units | Description |
|---|---|
| System | |
| Classes | |
| sysutils | |
| ssockets | Socket stream implementation for network communication |
| HTTPDefs | Basic HTTP protocol declarations and classes |
| URIParser | URI Parsing routines. |
| Base64 | Unit implementing base64 encoding. |
| sslsockets | SSL/TLS socket implementation for secure connections |
Overview¶
The fpHttpClient unit provides a complete HTTP client implementation for making HTTP requests. It supports all standard HTTP methods (GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD), SSL/TLS connections, redirects, authentication, cookies, and form posting including file uploads.
The main classes are TFPCustomHTTPClient (base class) and TFPHTTPClient (with published properties). The unit also supports Server-Sent Events through TCustomHTTPEventSource and proxy connections through TProxyData.
Related topics¶
| Topic | Description |
|---|---|
| fpHttpClientAdvanced | Advanced TFPHTTPClient Features |
| fpHttpClientFileUpload | File Upload with Local Filename |
| fpHttpClientFormPost | Form Data and File Upload with fpHttpClient |
| fpHttpClientMethods | HTTP Methods with TFPHTTPClient |
| fpHttpClientHttps | HTTPS Support in TFPHTTPClient |
| fpHttpClientUsage | Using the TFPHTTPClient |