CHttpResponse::SetBufferOutput
Visual Studio 2005
Call this method to set buffering options for the response.
void SetBufferOutput( BOOL bBufferOutput, DWORD dwBufferLimit = ATL_ISAPI_BUFFER_SIZE ) throw( );
Parameters
- bBufferOutput
-
TRUE if buffering should be enabled, FALSE otherwise.
- dwBufferLimit
-
The maximum size in bytes of the buffer.
This method allows you to turn buffering on or off and to set a size limit on the amount of data that will be buffered before being sent to the client. When you turn off buffering, the current contents of the buffer will be sent to the client. When the buffer limit is reduced below the current size of the buffered content, the entire buffer is flushed.