Classes | |
class | Cgi |
A wrapper class that represents the http interface to a cgi program. More... | |
class | CgiError |
A runtime exception thrown by some cgi-related functions. More... | |
class | HttpHeader |
A class representing the header part of a HTTP response. More... | |
class | SessionServer |
A class that packages the link to the hidden server. More... | |
Functions | |
void | cgidata (std::string &data) throw (CgiError) |
Fill the parameter string with the data stream passed to the cgi program. | |
Dv::Util::Props & | cookieprops (Dv::Util::Props &props) throw () |
Store cookies as [name,value] pairs in props. | |
bool | urlencoded_formdata (const std::string &data, Dv::Util::Props &props) throw () |
Convert url encoded form data to <key,value> pairs in Dv::Util::Props. | |
bool | multipart_formdata (const std::string &data, Dv::Util::Props &props) throw () |
Convert multipart encoded form data to <key,value> pairs in Dv::Util::Props. | |
bool | formdata (const std::string &data, Dv::Util::Props &props) throw () |
Convert formdata using either urlencoded_formdata or multipart_formdata. | |
void | eof (SessionServer &) |
Convenience function, simply calls refresh on its argument. | |
std::string & | www_decode (std::string &s) |
In-place decode (RFC 1738) of string s. | |
std::string & | www_encode (const std::string &sin, std::string &sout) |
Encode (RFC 1738) string. | |
std::string & | html_encode (const std::string &sin, std::string &sout) |
|
Fill the parameter string with the data stream passed to the cgi program. Further processing can be done with Dv::Cgi::formdata.
|
|
Store cookies as [name,value] pairs in props.
|
|
Convert url encoded form data to <key,value> pairs in Dv::Util::Props.
|
|
Convert multipart encoded form data to <key,value> pairs in Dv::Util::Props.
|
|
Convert formdata using either urlencoded_formdata or multipart_formdata.
|
|
Convenience function, simply calls refresh on its argument. Example: Dv::Cgi::SessionServer s(..); s.header().content_type("text/html").no_cache(); while (s) { Dv::Util::Props& input(s.props()); s << "<html>..</html>" << Dv::Cgi::eof; }
|
|
In-place decode (RFC 1738) of string s.
|
|
Encode (RFC 1738) string.
|
|
|
dvcgi-0.5.14 | [22 January, 2006] |