NAME

HTTP_FILTER_RAW_DATA - ISAPI notification info for raw data read and write.


SYNOPSIS

 #include "httpfilt.h"
 typedef struct _HTTP_FILTER_RAW_DATA {
    PVOID pvInData;      /* data buffer */
    DWORD cbInData;      /* number of valid bytes in buffer */
    DWORD cbInBuffer;    /* total size of buffer */
    DWORD dwReserved;
 } HTTP_FILTER_RAW_DATA, *PHTTP_FILTER_RAW_DATA;


DESCRIPTION

HTTP_FILTER_RAW_DATA describes the raw data received from, or to be sent to, the client. The pvNotification parameter of HttpFilterProc points to an HTTP_FILTER_RAW_DATA structure when the NotificationType parameter is either SF_NOTIFY_READ_RAW_DATA or SF_NOTIFY_SEND_RAW_DATA.

The HttpFilterProc is at liberty to modify (e.g. encode or decode) the data held in the buffer and revise the cbInData value to indicate the length of the data after modification.

When reading raw data, the data in the buffer is the actual data received from the client: the data in the buffer after the call to HttpFilterProc will be passed on to later stages of processing of the request.

When sending raw data, the data in the buffer is the data generated by the web server (or appropriate sub-process which has handled the request): the data in the buffer after the call to HttpFilterProc will be sent to the client in response to the request.


DATA FIELDS

The pvInData field points to an area of memory, of size cbInBuffer bytes, in which the web server has stored cbInData bytes of data received from, or for transmission to, the client who made the request.

(The dwReserved field should be ignored.)


SEE ALSO

isapi(7), HttpFilterProc(3), HTTP_FILTER_CONTEXT(5).


FILES

$ZEUSHOME/web/include/httpfilt.h $ZEUSHOME/web/include/wintypes.h $ZEUSHOME/webadmin/docroot/docs/modules/isapi/*.html


COPYRIGHT

Copyright (C) 2000-2001 Zeus Technology Limited. All rights reserved.