Difference between revisions of "THttpCli.OnRequestDone"

From Overbyte
Jump to navigation Jump to search
m (THttpCli:OnRequestDone moved to THttpCli.OnRequestDone)
 
Line 1: Line 1:
 +
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS components reference]]
 +
-> [[THttpCli]] -> [[THttpCli.OnRequestDone | OnRequestDone]]
 
== Definition ==
 
== Definition ==
 
procedure ('''Sender''': TObject; '''RqType''': THttpRequest; '''ErrCode''': Word) of object;
 
procedure ('''Sender''': TObject; '''RqType''': THttpRequest; '''ErrCode''': Word) of object;

Latest revision as of 17:44, 19 February 2006

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