userver: utest::HttpServerMock::HttpRequest Struct Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
utest::HttpServerMock::HttpRequest Struct Reference

Your opinion will help to improve our service

Leave a feedback >

#include <userver/utest/http_server_mock.hpp>

Detailed Description

Structure with HTTP request that is passed to the HttpHandler callback.

Definition at line 30 of file http_server_mock.hpp.

Public Attributes

clients::http::HttpMethod method {clients::http::HttpMethod::kGet}
 
std::string path
 
std::multimap< std::string, std::string > query
 
clients::http::Headers headers
 
std::string body
 

Member Data Documentation

◆ body

std::string utest::HttpServerMock::HttpRequest::body

Definition at line 36 of file http_server_mock.hpp.

◆ headers

clients::http::Headers utest::HttpServerMock::HttpRequest::headers

Definition at line 35 of file http_server_mock.hpp.

◆ method

clients::http::HttpMethod utest::HttpServerMock::HttpRequest::method {clients::http::HttpMethod::kGet}

Definition at line 31 of file http_server_mock.hpp.

◆ path

std::string utest::HttpServerMock::HttpRequest::path

Definition at line 32 of file http_server_mock.hpp.

◆ query

std::multimap<std::string, std::string> utest::HttpServerMock::HttpRequest::query

Definition at line 34 of file http_server_mock.hpp.


The documentation for this struct was generated from the following file: