An HTTP connection. More...
#include <http_connection.h>
Public Member Functions | |
| Connection (boost::asio::io_service &io_service, Handler *handler, const std::string &server_name, std::tuple< Middlewares... > *middlewares, std::function< std::string()> &get_cached_date_str_f, detail::dumb_timer_queue &timer_queue, typename Adaptor::context *adaptor_ctx_) | |
| decltype(std::declval< Adaptor >().raw_socket()) & | socket () | 
| The TCP socket on top of which the connection is established.  | |
| void | start () | 
| void | handle_header () | 
| void | handle () | 
| void | complete_request () | 
| Call the after handle middleware and send the write the response to the connection.  | |
Friends | |
| struct | crow::response | 
An HTTP connection.