TFPHTTPClient class
Full-featured HTTP client with published properties
Declaration
TFPHTTPClient = class(TFPCustomHTTPClient)Inheritance
- TFPHTTPClient
- TFPCustomHTTPClient
- TComponent
- TPersistent
- TObject
Description
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.
See also
Properties
ResponseCookies | public | Cookies received from the server in the last response |
KeepConnection | published | Whether to keep the connection alive between requests |
Connected | published | Indicates whether a connection is currently active |
IOTimeout | published | Timeout for data transfer operations in milliseconds |
ConnectTimeout | published | Timeout for connection establishment in milliseconds |
RequestCookies | published | Cookies to send with requests |
RequestHeaders | published | HTTP headers to send with requests |
RequestBody | published | The request body content for POST/PUT requests |
ResponseHeaders | published | HTTP headers received from server responses |
HTTPversion | published | The HTTP protocol version to use for requests |
ServerHTTPVersion | published | The HTTP protocol version used by the server in the last response |
ResponseStatusCode | published | HTTP status code from the last response |
ResponseStatusText | published | HTTP status text from the last response |
Cookies | published | Cookie jar for automatic cookie management |
AllowRedirect | published | Whether to automatically follow HTTP redirects |
MaxRedirects | published | Maximum number of redirects to follow automatically |
UserName | published | Username for HTTP authentication |
Password | published | Password for HTTP authentication |
Proxy | published | Proxy server configuration |
VerifySSLCertificate | published | Whether to verify SSL certificates |
CertCAFileName | published | Path to Certificate Authority file for SSL verification |
TrustedCertsDir | published | Directory containing trusted certificate files |
AfterSocketHandlerCreate | published | Event called after socket handler creation |
Events
OnRedirect | published | Event called when a redirect is encountered |
OnPassword | published | Event called when authentication is required |
OnDataReceived | published | Event called during data reception to track progress |
OnDataSent | published | Event called during data transmission to track progress |
OnHeaders | published | Event called when response headers are received |
OnGetSocketHandler | published | Event called to provide custom socket handlers |
OnVerifySSLCertificate | published | Event called for custom SSL certificate verification |
OnEventStream | published | Event called when a Server-Sent Events stream is established |
Inherited
From TFPCustomHTTPClient (71)
AddHeader AllowHeader CheckHeader CheckResponseCode ConnectToServer Create CreateEventSource CreateProxyData Delete Destroy DisconnectFromServer DoDataRead DoDataWrite DoKeepConnectionRequest DoMethod DoNormalRequest DoVerifyCertificate ExtractBuffer ExtractSocket FileFormPost FormPost Get GetEventSource GetHeader GetServerURL GetSocketHandler HandlesEventstream HasConnectionClose Head HTTPMethod IndexOfHeader IsConnected IsRedirect KeepConnectionReconnectLimit MaxChunkSize MaxHeaderCount MaxHeaderLineLength MaxResponseSize NoContentAllowed Options ParseStatusLine Patch Post ProtocolSupported ProxyActive Put ReadFromSocket ReadResponse ReadResponseHeaders ReadString ReconnectToServer RedirectForcesGET SendRequest SimpleDelete SimpleFileFormPost SimpleFormPost SimpleGet SimpleOptions SimplePatch SimplePost SimplePut SimpleQuote Socket StartEventStream StreamFormPost Terminate Terminated UnixSocketPath WriteRequestBody WriteString WriteToSocket
From TComponent (74)
_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (37)
AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
