Malloy
Loading...
Searching...
No Matches
types.hpp
1#pragma once
2
3#include <boost/beast/http/message.hpp>
4#include <boost/beast/http/field.hpp>
5#include <boost/beast/http/status.hpp>
6#include <boost/beast/http/verb.hpp>
7
13namespace malloy::http
14{
18 using method = boost::beast::http::verb;
19
23 using status = boost::beast::http::status;
24
28 using field = boost::beast::http::field;
29
33 using fields = boost::beast::http::fields;
34
38 template<typename Fields = fields>
39 using request_header = boost::beast::http::request_header<Fields>;
40
44 template<typename Fields = fields>
45 using response_header = boost::beast::http::response_header<Fields>;
46}
Definition: cookie.hpp:8
boost::beast::http::verb method
Definition: types.hpp:18
boost::beast::http::fields fields
Definition: types.hpp:33
boost::beast::http::field field
Definition: types.hpp:28
boost::beast::http::request_header< Fields > request_header
Definition: types.hpp:39
boost::beast::http::status status
Definition: types.hpp:23
boost::beast::http::response_header< Fields > response_header
Definition: types.hpp:45