HTTP client implementation for making HTTP requests
uses |
||
ssockets, |
|
Socket stream implementation for network communication |
|
Basic HTTP protocol declarations and classes |
|
|
URI Parsing routines. |
|
|
Unit implementing base64 encoding. |
|
sslsockets; |
|
SSL/TLS socket implementation for secure connections |
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.
|
Advanced TFPHTTPClient Features |
|
|
File Upload with Local Filename |
|
|
Form Data and File Upload with fpHttpClient |
|
|
HTTP Methods with TFPHTTPClient |
|
|
HTTPS Support in TFPHTTPClient |
|
|
Using the TFPHTTPClient |