TGetPostRequestExEvent = procedure(Sender: TObject; IsGet: boolean;
const URL, Query, EncType, Referer: string; Reload: boolean;
var NewURL: string; var DocType: ThtmlFileType;
var Stream: TMemoryStream) of Object;
The TGetPostRequestExEvent type is the type for the OnGetPostRequestEx event. This event allows a handler to respond with a document or image in stream form when a request is made for a new document. The parameters are:
IsGetSet if the request is a Get (as opposed to Post) request.
URLThe URL defining the request. This is a full URL and includes the protocol.
QueryA possible query string.
EncTypeThe EncType attribute of the <form> tag from which a Post was made..
RefererThe URL from which the request is made.
ReloadSet if a cached copy is not to be used.
NewURLThis value is returned if the document had been relocated. This allows further requests to be made to the correct location.
DocTypeThe type of item found, HTMLType, TextType, or ImgType.
StreamThe requested item in stream form.
See also: