CHttpFilter::OnSendRawData

virtual DWORD OnSendRawData( CHttpFilterContext* pfc, PHTTP_FILTER_RAW_DATA pRawData );

Return Value

If successful, the notification type SF_STATUS_REQ_NEXT_NOTIFICATION. Call the next filter in the notification chain.

If unsuccessful, the notification type SF_STATUS_REQ_ERROR should be returned. In this case, the server should use the Windows function SetLastError and indicate the error to the client.

Parameters

pfc

A CHttpFilterContext object, which contains context information. The CHttpFilterContext object can be used by the filter to associate any context information with the HTTP request. The SF_NOTIFY_END_OF_NET_SESSION notification can be used to release any such context information.

pRawData

A pointer to an HTTP_FILTER_RAW_DATA structure.

Remarks

This member function is called by the framework to notify the client that the server is sending raw data back to the client.

Override this member function only to change the default notification handler used by HttpFilterProc and process raw data differently.

CHttpFilter OverviewClass MembersHierarchy Chart

See Also   CHttpFilter::HttpFilterProc, HTTP_FILTER_RAW_DATA, CHttpFilterContext, CHttpFilter::OnReadRawData