property AfterRetrieveHeaders: TScHttpAfterRetrieveHeadersEvent;
type
TScHttpAfterRetrieveHeadersEvent = procedure(Sender: TObject; RequestInfo: TScHttpRequestInfo; ResponseInfo: TScHttpResponseInfo; var Cancel: boolean) of object;
Description
Occurs when the HTTP server has received a request from the client. AfterRetrieveHeaders allows the user to check request header parameters, generate a response, and/or reject a request with invalid parameters.
Parameters:
• | Sender - the object whose event handler is called; |
• | RequestInfo - the object of the TScHttpRequestInfo type contains complete information about the request; |
• | ResponseInfo - the object of the TScHttpResponseInfo type contains complete information about the response; |
• | Cancel - default value is False. Set Cancel to True to reject the connection. |