|
fastcgi++
A C++ FastCGI/Web API
|
Topmost namespace for the fastcgi++ library. More...
Namespaces | |
| Http | |
| Defines classes and functions relating to the HTTP protocol. | |
| Logging | |
| Contains the Fastcgipp debugging/logging mechanism. | |
| Protocol | |
| Defines aspects of the FastCGI Protocol. | |
Classes | |
| class | Block |
| Data structure to hold a block of raw data. More... | |
| class | FcgiStreambuf |
| Stream buffer class for output of client data through FastCGI. More... | |
| class | Manager |
| General task and protocol management class. More... | |
| class | Manager_base |
| General task and protocol management class base. More... | |
| struct | Message |
| Data structure used to pass messages to requests. More... | |
| class | Request |
| Request handling class More... | |
| class | Request_base |
| De-templating base class for Request. More... | |
| class | Socket |
| Class for representing an OS level I/O socket. More... | |
| class | SocketGroup |
| Class for representing an OS level socket that listens for connections. More... | |
| class | Transceiver |
| Handles low level communication with "the other side". More... | |
| class | WebStreambuf |
| Stream buffer class for output of HTML/Web stream. More... | |
Typedefs | |
| typedef int | socket_t |
| Our socket identifier type in GNU/Linux is simply an int. More... | |
| typedef const int | poll_t |
| Our polling type using the Linux kernel is simply an int. More... | |
Enumerations | |
| enum | Encoding { Encoding::NONE, Encoding::HTML, Encoding::URL } |
| Stream manipulator for setting output encoding. More... | |
Functions | |
| template<class charT , class traits > | |
| std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &os, const Encoding &encoding) |
Variables | |
| const char | version [] =FASTCGIPP_VERSION |
| Defines the fastcgi++ version. More... | |
Topmost namespace for the fastcgi++ library.
| typedef const int Fastcgipp::poll_t |
Our polling type using the Linux kernel is simply an int.
Definition at line 60 of file sockets.hpp.
| typedef int Fastcgipp::socket_t |
Our socket identifier type in GNU/Linux is simply an int.
Definition at line 56 of file sockets.hpp.
|
strong |
Stream manipulator for setting output encoding.
This simple stream manipulator can set the output encoding of Fcgistream objects by
When output encoding is set to NONE, no character translation takes place. HTML and URL encoding is described by the following table.
HTML
| Input | Output |
| " | " |
| > | > |
| < | < |
| & | & |
| ' | ' |
URL
| Input | Output |
| ! | %21 |
| ] | %5D |
| [ | %5B |
| # | %23 |
| ? | %3F |
| / | %2F |
| , | %2C |
| $ | %24 |
| + | %2B |
| = | %3D |
| & | %26 |
| @ | %40 |
| : | %3A |
| ; | %3B |
| ) | %29 |
| ( | %28 |
| ' | %27 |
| * | %2A |
| < | %3C |
| > | %3E |
| " | %22 |
| *space* | %20 |
| % | %25 |
| Enumerator | |
|---|---|
| NONE | |
| HTML | |
| URL | |
Definition at line 182 of file webstreambuf.hpp.
| std::basic_ostream< charT, traits > & Fastcgipp::operator<< | ( | std::basic_ostream< charT, traits > & | os, |
| const Encoding & | encoding | ||
| ) |
Definition at line 43 of file webstreambuf.cpp.
References ERROR_LOG, and Fastcgipp::WebStreambuf< charT, traits >::m_encoding.
| const char Fastcgipp::version =FASTCGIPP_VERSION |
Defines the fastcgi++ version.
Defines the fastcgi++ version.
Definition at line 91 of file protocol.cpp.
Referenced by Fastcgipp::Request< charT >::complete(), Fastcgipp::FcgiStreambuf< charT, traits >::dump(), Fastcgipp::FcgiStreambuf< charT, traits >::emptyBuffer(), Fastcgipp::Manager_base::localHandler(), and Fastcgipp::Protocol::ManagementReply< NAMELENGTH, VALUELENGTH >::ManagementReply().
1.8.11