Github   Telegram
Loading...
Searching...
No Matches
http_allowed_urls_extra.hpp
1#pragma once
2
3#include <chrono>
4#include <functional>
5#include <string>
6
9
10USERVER_NAMESPACE_BEGIN
11
12namespace clients::http {
13class Client;
14} // namespace clients::http
15
16namespace testsuite {
17
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