fastcgi++
Namespaces | Classes | Enumerations | Functions | Variables
Fastcgipp Namespace Reference

Topmost namespace for the fastcgi++ library. More...

Namespaces

namespace  Exceptions
 Includes all exceptions used by the fastcgi++ library.
namespace  Http
 Defines classes and function relating to the http protocol.
namespace  Protocol
 Defines aspects of the FastCGI Protocol.

Classes

class  FcgistreamSink
 Encapsulates data into FastCGI records to be sent back to the web server. More...
class  Fcgistream
 Stream class for output of client data through FastCGI. More...
struct  encoding
 Stream manipulator for setting output encoding. More...
class  ManagerPar
 General task and protocol management class. More...
class  Manager
 General task and protocol management class. More...
struct  Message
 Data structure used to pass messages within the fastcgi++ task management system. More...
class  Request
 Request handling class More...
struct  Block
 A raw block of memory. More...
class  Transceiver
 Handles low level communication with "the other side". More...
struct  equalsFd
 Predicate for comparing the file descriptor of a pollfd. More...

Enumerations

enum  OutputEncoding { NONE, HTML, URL }
 Defines how Fcgistream objects encode output textual data. More...

Functions

template<class charT , class Traits >
std::basic_ostream< charT,
Traits > & 
operator<< (std::basic_ostream< charT, Traits > &os, const encoding &enc)
bool reventsZero (const pollfd &x)
 Predicate for testing if the revents in a pollfd is non-zero.

Variables

const char version [] = PACKAGE_VERSION
 Defines the fastcgi++ version.

Detailed Description

Topmost namespace for the fastcgi++ library.


Enumeration Type Documentation

Defines how Fcgistream objects encode output textual data.

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
" &quot;
> &gt;
< &lt;
& &amp;
' &apos;

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 169 of file fcgistream.hpp.


Function Documentation

template<class charT , class Traits >
std::basic_ostream< charT, Traits > & Fastcgipp::operator<< ( std::basic_ostream< charT, Traits > &  os,
const encoding &  enc 
)

Definition at line 208 of file fcgistream.cpp.

References Fastcgipp::Fcgistream< charT >::setEncoding().

bool Fastcgipp::reventsZero ( const pollfd &  x) [inline]

Predicate for testing if the revents in a pollfd is non-zero.

Definition at line 304 of file transceiver.hpp.

Referenced by Fastcgipp::Transceiver::handler().


Variable Documentation

const char Fastcgipp::version = PACKAGE_VERSION