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 <chrono>
4#include <functional>
5#include <string>
6
7#include <userver/components/component_fwd.hpp>
8#include <userver/formats/json_fwd.hpp>
9
10USERVER_NAMESPACE_BEGIN
11
12namespace clients::http {
13class Client;
14} // namespace clients::http
15
16namespace testsuite {
17
18class HttpAllowedUrlsExtra final {
19 public:
20 void RegisterHttpClient(clients::http::Client& http_client);
21
22 void SetAllowedUrlsExtra(std::vector<std::string>&& urls);
23
24 private:
25 clients::http::Client* http_client_{nullptr};
26};
27
28} // namespace testsuite
29
30USERVER_NAMESPACE_END