8 #ifndef CPPCMS_FORWARDER_H 9 #define CPPCMS_FORWARDER_H 11 #include <cppcms/defs.h> 12 #include <booster/hold_ptr.h> 13 #include <booster/shared_ptr.h> 14 #include <booster/noncopyable.h> 15 #include <booster/thread.h> 37 typedef std::pair<std::string,int> address_type;
38 address_type check_forwading_rules(std::string
const &h,std::string
const &s,std::string
const &p);
39 address_type check_forwading_rules(
char const *h,
char const *s,
char const *p);
53 typedef std::map<booster::shared_ptr<mount_point> ,address_type> rules_type;
This is the namespace where all CppCMS functionality is placed.
Definition: application.h:19
Shared mutex or a.k.a. Read-Write Lock.
Definition: thread.h:166
void CPPCMS_API forward_connection(booster::shared_ptr< http::context > cont, std::string const &ip, int port)
Class responsble for automaticall forwarding of HTTP/CGI requests to other hosts over SCGI...
Definition: forwarder.h:31