|
| | Server () |
| |
| virtual | ~Server () |
| |
| int | bind_to_any_port (const char *host, int socket_flags=0) |
| |
| bool | bind_to_port (const char *host, int port, int socket_flags=0) |
| |
| Server & | Delete (const char *pattern, Handler handler) |
| |
| Server & | Delete (const char *pattern, HandlerWithContentReader handler) |
| |
| Server & | Delete (const char *pattern, size_t pattern_len, Handler handler) |
| |
| Server & | Delete (const char *pattern, size_t pattern_len, HandlerWithContentReader handler) |
| |
| Server & | Get (const char *pattern, Handler handler) |
| |
| Server & | Get (const char *pattern, size_t pattern_len, Handler handler) |
| |
| bool | is_running () const |
| |
| virtual bool | is_valid () const |
| |
| bool | listen (const char *host, int port, int socket_flags=0) |
| |
| bool | listen_after_bind () |
| |
| Server & | Options (const char *pattern, Handler handler) |
| |
| Server & | Options (const char *pattern, size_t pattern_len, Handler handler) |
| |
| Server & | Patch (const char *pattern, Handler handler) |
| |
| Server & | Patch (const char *pattern, HandlerWithContentReader handler) |
| |
| Server & | Patch (const char *pattern, size_t pattern_len, Handler handler) |
| |
| Server & | Patch (const char *pattern, size_t pattern_len, HandlerWithContentReader handler) |
| |
| Server & | Post (const char *pattern, Handler handler) |
| |
| Server & | Post (const char *pattern, HandlerWithContentReader handler) |
| |
| Server & | Post (const char *pattern, size_t pattern_len, Handler handler) |
| |
| Server & | Post (const char *pattern, size_t pattern_len, HandlerWithContentReader handler) |
| |
| Server & | Put (const char *pattern, Handler handler) |
| |
| Server & | Put (const char *pattern, HandlerWithContentReader handler) |
| |
| Server & | Put (const char *pattern, size_t pattern_len, Handler handler) |
| |
| Server & | Put (const char *pattern, size_t pattern_len, HandlerWithContentReader handler) |
| |
| bool | remove_mount_point (const char *mount_point) |
| |
| bool | set_base_dir (const char *dir, const char *mount_point=nullptr) |
| |
| Server & | set_error_handler (Handler handler) |
| |
| Server & | set_error_handler (HandlerWithResponse handler) |
| |
| Server & | set_exception_handler (ExceptionHandler handler) |
| |
| Server & | set_expect_100_continue_handler (Expect100ContinueHandler handler) |
| |
| Server & | set_file_extension_and_mimetype_mapping (const char *ext, const char *mime) |
| |
| Server & | set_file_request_handler (Handler handler) |
| |
| Server & | set_idle_interval (time_t sec, time_t usec=0) |
| |
| Server & | set_keep_alive_max_count (size_t count) |
| |
| Server & | set_keep_alive_timeout (time_t sec) |
| |
| Server & | set_logger (Logger logger) |
| |
| bool | set_mount_point (const char *mount_point, const char *dir, Headers headers=Headers()) |
| |
| Server & | set_payload_max_length (size_t length) |
| |
| Server & | set_post_routing_handler (Handler handler) |
| |
| Server & | set_pre_routing_handler (HandlerWithResponse handler) |
| |
| Server & | set_read_timeout (time_t sec, time_t usec=0) |
| |
| Server & | set_socket_options (SocketOptions socket_options) |
| |
| Server & | set_tcp_nodelay (bool on) |
| |
| Server & | set_write_timeout (time_t sec, time_t usec=0) |
| |
| void | stop () |
| |