Difference between revisions of "THttpCli.OnHeaderEnd"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Description == | == 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 | + | 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 the headers. For example Content-length, 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 [http://wiki.overbyte.be/wiki/index.php/THttpCli:OnDocData OnDocData] event. |
== Example == | == Example == |
Revision as of 11:57, 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 the headers. For example Content-length, 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