Difference between revisions of "THttpCli.OnHeaderEnd"

From Overbyte
Jump to navigation Jump to search
(No difference)

Revision as of 11:33, 13 February 2006

Definition

procedure(Sender: TObject) of object;

  • Sender : the client which fired the event

Description

This event will fire when all the headers were sent by the server. In the handler you can be sure you have all the headers so you can make decisions based on Content-type or Content-length. Also if the server have included a Content-length header here you can make a progress bar based on this info and the info got on the OnDocData event.

Example

nothing yet

Best practices

nothing yet