HTTP_FILTER_SEND_RESPONSE (Compact 2013)
3/26/2014
This structure contains information that facilitates communication with an ISAPI filter. The filter receives a notification immediately prior to sending any headers to the client. The filter can inspect, modify, or add headers the client will receive as part of the response to the client's original request. The structure contains the same members as the HTTP_FILTER_PREPROC_HEADERS structure. When a filter has registered for the SF_NOTIFY_SEND_RESPONSE event, the pvNotification parameter of HttpFilterProc will point to this structure.
Syntax
typedef struct HTTP_FILTER_SEND_RESPONSE{
BOOL (WINAPI* GetHeader);
BOOL (WINAPI* SetHeader);
BOOL (WINAPI* AddHeader);
DWORD HttpStatus;
DWORD dwReserved;
} HTTP_FILTER_SEND_RESPONSE, *PHTTP_FILTER_SEND_RESPONSE;
Members
- GetHeader
Pointer to the GetHeader function, which retrieves the specified header value. Header names must include the trailing colon (:).
- SetHeader
Pointer to the SetHeader function, which changes or deletes the value of a header.
- AddHeader
Pointer to the AddHeader function to add a header to the response.
- HttpStatus
Current HTTP status code.
- dwReserved
Reserved.
Requirements
Header |
httpfilt.h |