Crow  1.1
A C++ microframework for the web
 
Loading...
Searching...
No Matches
crow::Server< Handler, Adaptor, Middlewares > Class Template Reference

Public Member Functions

 Server (Handler *handler, const tcp::endpoint &endpoint, std::string server_name=std::string("Crow/")+VERSION, std::tuple< Middlewares... > *middlewares=nullptr, uint16_t concurrency=1, uint8_t timeout=5, typename Adaptor::context *adaptor_ctx=nullptr)
 
void set_tick_function (std::chrono::milliseconds d, std::function< void()> f)
 
void on_tick ()
 
void run ()
 
void stop ()
 
uint16_t port () const
 
std::cv_status wait_for_start (std::chrono::steady_clock::time_point wait_until)
 Wait until the server has properly started or until timeout.
 
void signal_clear ()
 
void signal_add (int signal_number)
 

The documentation for this class was generated from the following file: