userver: userver/testsuite/http_allowed_urls_extra.hpp Source File
Loading...
Searching...
No Matches
http_allowed_urls_extra.hpp
1#pragma once
2
3#include <memory>
4#include <string>
5
6#include <userver/components/component_fwd.hpp>
7#include <userver/formats/json_fwd.hpp>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace clients::http {
12class ClientCore;
13} // namespace clients::http
14
15namespace testsuite {
16
17class HttpAllowedUrlsExtra final {
18public:
19 void RegisterHttpClient(clients::http::ClientCore& http_client);
20
21 void SetAllowedUrlsExtra(std::vector<std::string>&& urls);
22
23private:
24 clients::http::ClientCore* http_client_{nullptr};
25};
26
27} // namespace testsuite
28
29USERVER_NAMESPACE_END