This header defines the FCGIRequest class. More...
#include <ssrc/wispers/fcgi/HTTPRequest.h>
#include <ssrc/wispers/utility/CircularFind.h>
#include <boost/shared_ptr.hpp>
#include <stdexcept>
#include <cctype>
#include <cstring>
#include <fcgi/fcgiapp.h>
Go to the source code of this file.
Classes | |
class | FCGIRequest |
struct | FCGIRequest::StrCmp |
Defines | |
#define | CGI_GET_VALUE(key) |
#define | CGI_GET_INT_VALUE(int_type, key) |
Typedefs | |
typedef boost::shared_ptr < FCGI::FCGX_Request > | fcgx_request_ptr |
Variables | |
const int | PORT_HTTP = 80 |
const int | PORT_HTTPS = 443 |
Detailed Description
This header defines the FCGIRequest class.
Definition in file FCGIRequest.h.
Define Documentation
#define CGI_GET_INT_VALUE | ( | int_type, | |
key | |||
) |
int_type result = -1; \ char *str = FCGI::FCGX_GetParam(#key, _fcgx_request->envp); \ \ if(str) { \ char *end(0); \ result = std::strtol(str, &end, 10); \ \ if(end == str) \ result = -1; \ } \ \ return result
Definition at line 112 of file FCGIRequest.h.
Referenced by FCGIRequest::content_length(), FCGIRequest::remote_port(), and FCGIRequest::server_port().
#define CGI_GET_VALUE | ( | key | ) |
char *val = FCGI::FCGX_GetParam(#key, _fcgx_request->envp); \ return (val ? val : "")
Definition at line 108 of file FCGIRequest.h.
Referenced by FCGIRequest::auth_type(), FCGIRequest::content_type(), FCGIRequest::document_root(), FCGIRequest::gateway_interface(), FCGIRequest::path_info(), FCGIRequest::path_translated(), FCGIRequest::query_string(), FCGIRequest::raw_server_name(), FCGIRequest::redirect_query_string(), FCGIRequest::redirect_request(), FCGIRequest::redirect_status(), FCGIRequest::redirect_url(), FCGIRequest::remote_address(), FCGIRequest::remote_group(), FCGIRequest::remote_host(), FCGIRequest::remote_ident(), FCGIRequest::remote_user(), FCGIRequest::request_method(), FCGIRequest::request_uri(), FCGIRequest::script_filename(), FCGIRequest::script_name(), FCGIRequest::server_address(), FCGIRequest::server_admin(), FCGIRequest::server_protocol(), FCGIRequest::server_root(), and FCGIRequest::server_software().
Typedef Documentation
typedef boost::shared_ptr<FCGI::FCGX_Request> fcgx_request_ptr |
Definition at line 45 of file FCGIRequest.h.
Variable Documentation
const int PORT_HTTP = 80 |
Definition at line 42 of file FCGIRequest.h.
const int PORT_HTTPS = 443 |
Definition at line 43 of file FCGIRequest.h.