Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cgidata.h File Reference

#include <stdexcept>
#include <string>
#include <dvcgi/cgierror.h>

Include dependency graph for cgidata.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  Dv
namespace  Dv::Cgi

Functions

void cgidata (std::string &data) throw (CgiError)
 Fill the parameter string with the data stream passed to the cgi program.


Detailed Description

The Dv::Cgi::cgidata() function retrieves the data stream passed to a cgi program.

Definition in file cgidata.h.


Function Documentation

void cgidata std::string &  data  )  throw (CgiError)
 

Fill the parameter string with the data stream passed to the cgi program.

Further processing can be done with Dv::Cgi::formdata.

Parameters:
data a string that will be filled with the data stream.
Exceptions:
CgiError is thrown when something goes wrong, e.g. illegal protocol etc.
See also:
Dv::Cgi::formdata


dvcgi-0.5.12 [27 April, 2004]