HTTP_FILTER_PREPROC_HEADERS (Compact 2013)
3/26/2014
This structure contains the notification information for use when the server is about to process the client headers. It is pointed to by the pvNotification parameter in HttpFilterProc when the NotificationType parameter is SF_NOTIFY_PREPROC_HEADERS.
Syntax
typedef struct _HTTP_FILTER_PREPROC_HEADERS{
BOOL (WINAPI* GetHeader)(
struct _HTTP_FILTER_CONTEXT* pfc,
LPSTR lpszName,
LPVOID lpvBuffer,
LPDWORD lpdwSize
);
BOOL (WINAPI* SetHeader)(
struct _HTTP_FILTER_CONTEXT* pfc,
LPSTR lpszName,
LPSTR lpszValue
);
BOOL (WINAPI* AddHeader)(
struct _HTTP_FILTER_CONTEXT* pfc,
LPSTR lpszName,
LPSTR lpszValue
);
DWORD HttpStatus;
DWORD dwReserved;
} HTTP_FILTER_PREPROC_HEADERS, *PHTTP_FILTER_PREPROC_HEADERS;
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 |
See Also
Reference
Web Server Structures
HttpFilterProc
GetHeader
SetHeader
AddHeader