THttpCli.OnRequestDone

From Overbyte
(Redirected from THttpCli:OnRequestDone)
Jump to navigation Jump to search

Main page -> ICS components reference -> THttpCli -> OnRequestDone

Definition

procedure (Sender: TObject; RqType: THttpRequest; ErrCode: Word) of object;

  • Sender : the client which fired the event
  • RqType : type of the request. Can be httpABORT, httpGET, httpPOST, httpPUT, httpHEAD, httpCLOSE.
  • ErrCode : error code for the request. If it is 0, there was no error. The value 3 means you have aborted your request

Description

This event will fire when the server has sent a response for your request and all data transfers has been done.

Examples

nothing yet

Best practices

nothing yet