System.Net.HttpClientComponent.TNetHTTPClient Events
InheritedProtected
OnAuthEvent | published | Event fired when a user name is needed to be authenticated to the proxy. |
OnGetDeltaStreams | protected | |
OnNeedClientCertificate | published | Event fired when a client certificate is needed. |
OnReceiveData | published | Occurs one or more times while your HTTP client receives response data for a request, and it indicates the current progress of the response download. |
OnReceiveDataEx | published | Event that allows access to the just-read data. |
OnRedirect | published | Event fired when the HTTP response will lead to a redirect. |
OnRequestCompleted | published | OnRequestCompleted is a event handler fired when a request finishes. |
OnRequestError | published | OnRequestError is a event handler fired when a request has an error. |
OnRequestException | published | OnRequestException is called when a request execution generates an exception.
OnRequestException is a better alternative than the OnRequestError event because as an argument it receives an exception object. When SynchronizeEvents is True, the OnRequestException is called in the context of the main thread; otherwise, it is called in the context of the calling thread. When OnRequestException is not assigned, then an exception is raised. |
OnSendData | published | |
OnUpdateCookie | published | Event fired when HTTP response cookies are added to the CookieManager object. |
OnValidateServerCertificate | published | Event fired when checking the validity of a server certificate. |