JayBeams
0.1
Another project to have fun coding.
|
Contains types and classes to implemented Embedded HTTP Servers. More...
Classes | |
class | acceptor |
Create a control server for the program. More... | |
class | connection |
Handle one connection to the control server. More... | |
class | request_dispatcher |
Holds a collection of HTTP request handlers and forwards requests. More... | |
Typedefs | |
using | request_type = beast::http::request< beast::http::string_body > |
The request type used for JayBeams Embedded HTTP Servers. More... | |
using | response_type = beast::http::response< beast::http::string_body > |
The response type used for JayBeams Embedded HTTP Servers. More... | |
using | request_handler = std::function< void(request_type const &, response_type &)> |
Define the interface for request handlers. More... | |
Contains types and classes to implemented Embedded HTTP Servers.
JayBeams long running server applications, such as feed handlers or data quality monitoring applications are controlled and monitored using an Embedded HTTP Server.
using jb::ehs::request_handler = typedef std::function<void(request_type const&, response_type&)> |
Define the interface for request handlers.
An Embedded HTTP Server receives HTTP requests, locates the correct handler for it based on the path component of the URL, and then passes on the request to the handler, which must implement the Callable interface defined by this type.
Definition at line 23 of file request_dispatcher.hpp.
using jb::ehs::request_type = typedef beast::http::request<beast::http::string_body> |
The request type used for JayBeams Embedded HTTP Servers.
Definition at line 17 of file base_types.hpp.
using jb::ehs::response_type = typedef beast::http::response<beast::http::string_body> |
The response type used for JayBeams Embedded HTTP Servers.
Definition at line 20 of file base_types.hpp.