File tree 2 files changed +2
-31
lines changed
2 files changed +2
-31
lines changed Original file line number Diff line number Diff line change 26
26
27
27
#include < cinatra/coro_http_client.hpp>
28
28
29
- namespace coro_http {
30
- using coro_http_client = cinatra::coro_http_client;
31
- using req_content_type = cinatra::req_content_type;
32
- using resp_data = cinatra::resp_data;
33
- using http_method = cinatra::http_method;
34
- using http_header = cinatra::http_header;
35
- using uri_t = cinatra::uri_t ;
36
- template <typename String = std::string>
37
- using req_context = cinatra::req_context<String>;
38
- } // namespace coro_http
29
+ namespace coro_http = cinatra;
Original file line number Diff line number Diff line change 27
27
28
28
#include < cinatra/coro_http_server.hpp>
29
29
30
- namespace coro_http {
31
- using coro_http_server = cinatra::coro_http_server;
32
- using coro_http_request = cinatra::coro_http_request;
33
- using coro_http_response = cinatra::coro_http_response;
34
- using status_type = cinatra::status_type;
35
- using http_method = cinatra::http_method;
36
- using uri_t = cinatra::uri_t ;
37
- using req_content_type = cinatra::req_content_type;
38
-
39
- constexpr inline auto GET = cinatra::http_method::GET;
40
- constexpr inline auto POST = cinatra::http_method::POST;
41
- constexpr inline auto DEL = cinatra::http_method::DEL;
42
- constexpr inline auto HEAD = cinatra::http_method::HEAD;
43
- constexpr inline auto PUT = cinatra::http_method::PUT;
44
- constexpr inline auto CONNECT = cinatra::http_method::CONNECT;
45
- #ifdef TRACE
46
- #undef TRACE
47
- constexpr inline auto TRACE = cinatra::http_method::TRACE;
48
- #endif
49
- constexpr inline auto OPTIONS = cinatra::http_method::OPTIONS;
50
- } // namespace coro_http
30
+ namespace coro_http = cinatra;
You can’t perform that action at this time.
0 commit comments