Lines Matching defs:Request
27 struct Request struct
29 using Body = boost::beast::http::request<bmcweb::HttpBody>;
30 Body req;
33 boost::urls::url urlBase;
38 boost::asio::ip::address ipAddress;
40 std::shared_ptr<persistent_data::UserSession> session;
42 std::string userRole;
43 Request(Body&& reqIn, std::error_code& ec) : req(std::move(reqIn)) in Request() function
51 Request(std::string_view bodyIn, std::error_code& /*ec*/) : req({}, bodyIn) in Request() argument
62 Request copy() const in copy()
67 void addHeader(std::string_view key, std::string_view value) in addHeader()
72 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader()
77 void clear() in clear()
86 boost::beast::http::verb method() const in method()
91 void method(boost::beast::http::verb verb) in method()
96 std::string_view methodString() in methodString()
101 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue()
106 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue()
111 void clearHeader(boost::beast::http::field key) in clearHeader()
116 std::string_view methodString() const in methodString()
121 std::string_view target() const in target()
126 boost::urls::url& url() in url()
131 boost::urls::url_view url() const in url()
136 const boost::beast::http::fields& fields() const in fields()
141 const std::string& body() const in body()
146 bool target(std::string_view target) in target()
152 unsigned version() const in version()
157 bool isUpgrade() const in isUpgrade()
163 bool keepAlive() const in keepAlive()
169 bool setUrlInfo() in setUrlInfo()