mod_servlet
C++Servlets
|
Source tag. More...
#include <io.h>
Source tag.
This tag is used to indicate that this object can be used as buffer provider for both servlet::basic_instream
and servlet::basic_outstream
. The object with this tag is expected to have the following category
definition:
and the following methods (flush
is required only for servlet::basic_outstream
):
Method get_buffer
returns std::pair
containing buffer for the stream buffer to use and number of charcters available for the stream to use.
Method flush
is required only if the buffer_provider is used with servlet::basic_outstream
and it flushed underlying stream if needed.