JayBeams  0.1
Another project to have fun coding.
base_types.hpp
Go to the documentation of this file.
1 #ifndef jb_ehs_base_types_hpp
2 #define jb_ehs_base_types_hpp
3 
4 #include <beast/http.hpp>
5 
6 namespace jb {
7 /**
8  * Contains types and classes to implemented Embedded HTTP Servers.
9  *
10  * JayBeams long running server applications, such as feed handlers or
11  * data quality monitoring applications are controlled and monitored
12  * using an Embedded HTTP Server.
13  */
14 namespace ehs {
15 
16 /// The request type used for JayBeams Embedded HTTP Servers.
17 using request_type = beast::http::request<beast::http::string_body>;
18 
19 /// The response type used for JayBeams Embedded HTTP Servers.
20 using response_type = beast::http::response<beast::http::string_body>;
21 
22 } // namespace ehs
23 } // namespace jb
24 
25 #endif // jb_ehs_base_types_hpp
beast::http::request< beast::http::string_body > request_type
The request type used for JayBeams Embedded HTTP Servers.
Definition: base_types.hpp:17
beast::http::response< beast::http::string_body > response_type
The response type used for JayBeams Embedded HTTP Servers.
Definition: base_types.hpp:20
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7