Your opinion will help to improve our service
Leave a feedback >Toy HTTP server for testing; for raw TCP or TLS testing use utest::SimpleServer.
Definition in file http_server_mock.hpp.
Go to the source code of this file.
#include <cstdint>
#include <map>
#include <userver/utest/simple_server.hpp>
#include <userver/clients/http/request.hpp>
#include <userver/clients/http/response.hpp>
Classes | |
class | utest::HttpServerMock |
Toy HTTP server for testing; for raw TCP or TLS testing use utest::SimpleServer. More... | |
struct | utest::HttpServerMock::HttpRequest |
Structure with HTTP request that is passed to the HttpHandler callback. More... | |
struct | utest::HttpServerMock::HttpResponse |
Structure with HTTP response to return from the HttpHandler callback. More... | |
Namespaces | |
namespace | utest |
Mocks and test helpers. | |