#include <FCgiIO.h>
Inheritance diagram for cgicc::FCgiIO:
Public Member Functions | |
Data Sources | |
virtual size_t | read (char *data, size_t length) |
Read data from the request's input stream. | |
virtual std::string | getenv (const char *varName) |
Query the value of an environment variable stored in the request. | |
Data Target Streams | |
std::ostream & | err (void) |
Provides access to the error stream. | |
Protected Attributes | |
FCGX_Request & | fRequest |
fcgi_streambuf | fOutBuf |
fcgi_streambuf | fErrBuf |
std::ostream | fErr |
std::map< std::string, std::string > | fEnv |
This class provides access to the input byte-stream and environment variable interfaces of a FastCGI request. It is fully compatible with the Cgicc input API.
It also provides access to the request's output and error streams, using a similar interface.
Definition at line 67 of file FCgiIO.h.
cgicc::FCgiIO::FCgiIO | ( | FCGX_Request & | request | ) |
virtual cgicc::FCgiIO::~FCgiIO | ( | ) | [inline, virtual] |
cgicc::FCgiIO::FCgiIO | ( | FCGX_Request & | request | ) |
virtual cgicc::FCgiIO::~FCgiIO | ( | ) | [inline, virtual] |
virtual size_t cgicc::FCgiIO::read | ( | char * | data, | |
size_t | length | |||
) | [inline, virtual] |
Read data from the request's input stream.
data | The target buffer | |
length | The number of characters to read |
Reimplemented from cgicc::CgiInput.
virtual std::string cgicc::FCgiIO::getenv | ( | const char * | varName | ) | [inline, virtual] |
Query the value of an environment variable stored in the request.
varName | The name of an environment variable |
Reimplemented from cgicc::CgiInput.