|
CppCMS
|
Class responsble for automaticall forwarding of HTTP/CGI requests to other hosts over SCGI. More...
#include <cppcms/forwarder.h>
Public Member Functions | |
| void | add_forwarding_rule (booster::shared_ptr< mount_point > p, std::string const &ip, int port) |
| void | remove_forwarding_rule (booster::shared_ptr< mount_point > p) |
Class responsble for automaticall forwarding of HTTP/CGI requests to other hosts over SCGI.
This class allows you to strasfer connections transparently and efficiently for specific applications like single server responsible for Comet processing
| void cppcms::forwarder::add_forwarding_rule | ( | booster::shared_ptr< mount_point > | p, |
| std::string const & | ip, | ||
| int | port | ||
| ) |
Add forwarding of request that match a mount_point p over SCGI ip and port.
| void cppcms::forwarder::remove_forwarding_rule | ( | booster::shared_ptr< mount_point > | p | ) |
Remove the forwarding request, you need to use smake pointer you used in add_forwarding_rule
1.8.11