|
| Server () |
|
virtual | ~Server () |
|
virtual bool | is_valid () const |
|
Server & | Get (const std::string &pattern, Handler handler) |
|
Server & | Post (const std::string &pattern, Handler handler) |
|
Server & | Post (const std::string &pattern, HandlerWithContentReader handler) |
|
Server & | Put (const std::string &pattern, Handler handler) |
|
Server & | Put (const std::string &pattern, HandlerWithContentReader handler) |
|
Server & | Patch (const std::string &pattern, Handler handler) |
|
Server & | Patch (const std::string &pattern, HandlerWithContentReader handler) |
|
Server & | Delete (const std::string &pattern, Handler handler) |
|
Server & | Delete (const std::string &pattern, HandlerWithContentReader handler) |
|
Server & | Options (const std::string &pattern, Handler handler) |
|
bool | set_base_dir (const std::string &dir, const std::string &mount_point=std::string()) |
|
bool | set_mount_point (const std::string &mount_point, const std::string &dir, Headers headers=Headers()) |
|
bool | remove_mount_point (const std::string &mount_point) |
|
Server & | set_file_extension_and_mimetype_mapping (const std::string &ext, const std::string &mime) |
|
Server & | set_default_file_mimetype (const std::string &mime) |
|
Server & | set_file_request_handler (Handler handler) |
|
Server & | set_error_handler (HandlerWithResponse handler) |
|
Server & | set_error_handler (Handler handler) |
|
Server & | set_exception_handler (ExceptionHandler handler) |
|
Server & | set_pre_routing_handler (HandlerWithResponse handler) |
|
Server & | set_post_routing_handler (Handler handler) |
|
Server & | set_expect_100_continue_handler (Expect100ContinueHandler handler) |
|
Server & | set_logger (Logger logger) |
|
Server & | set_address_family (int family) |
|
Server & | set_tcp_nodelay (bool on) |
|
Server & | set_socket_options (SocketOptions socket_options) |
|
Server & | set_default_headers (Headers headers) |
|
Server & | set_keep_alive_max_count (size_t count) |
|
Server & | set_keep_alive_timeout (time_t sec) |
|
Server & | set_read_timeout (time_t sec, time_t usec=0) |
|
template<class Rep , class Period > |
Server & | set_read_timeout (const std::chrono::duration< Rep, Period > &duration) |
|
Server & | set_write_timeout (time_t sec, time_t usec=0) |
|
template<class Rep , class Period > |
Server & | set_write_timeout (const std::chrono::duration< Rep, Period > &duration) |
|
Server & | set_idle_interval (time_t sec, time_t usec=0) |
|
template<class Rep , class Period > |
Server & | set_idle_interval (const std::chrono::duration< Rep, Period > &duration) |
|
Server & | set_payload_max_length (size_t length) |
|
bool | bind_to_port (const std::string &host, int port, int socket_flags=0) |
|
int | bind_to_any_port (const std::string &host, int socket_flags=0) |
|
bool | listen_after_bind () |
|
bool | listen (const std::string &host, int port, int socket_flags=0) |
|
bool | is_running () const |
|
void | wait_until_ready () const |
|
void | stop () |
|
Definition at line 771 of file httplib.h.