System.Net.HttpClientComponent.TNetHTTPRequest Events
InheritedProtected
| OnGetDeltaStreams | protected | Allows a component to generate and provide a list of delta streams representing changes to the component's state. |
| OnReceiveData | published | Occurs one or more times while your request receives response data, and it indicates the current progress of the response download. |
| OnReceiveDataEx | published | Event that allows access to the just-read data. |
| OnRequestCompleted | published | Event fired when a request finishes. |
| OnRequestError | published | Event fired when a request has an error. |
| OnRequestException | published | OnRequestException is called when a request execution raises 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 the TNetHTTPClient.OnRequestException is called. When both event handlers are not assigned, then an exception is raised. |
| OnSendData | published |