|
Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
|
#include <ConnectionPool.hpp>
Public Member Functions | |
| std::pair< int, void * > | acquire (const std::string &host, int port) |
| void | release (const std::string &host, int port, int fd, void *ssl=nullptr) |
| void | cleanup_stale_connections () |
Static Public Member Functions | |
| static ConnectionPool & | get_instance () |
| std::pair< int, void * > network::ConnectionPool::acquire | ( | const std::string & | host, |
| int | port | ||
| ) |
| void network::ConnectionPool::cleanup_stale_connections | ( | ) |
|
inlinestatic |
| void network::ConnectionPool::release | ( | const std::string & | host, |
| int | port, | ||
| int | fd, | ||
| void * | ssl = nullptr |
||
| ) |