Savarese Software Research Corporation
FCGIRequest.h File Reference

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>
Include dependency graph for FCGIRequest.h:
This graph shows which files directly or indirectly include this file:

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 
)
Value:
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().


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.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.