userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
http_client.hpp
1
#pragma once
2
3
#include <memory>
4
5
#include <
userver/engine/task/current_task.hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
clients::http
{
10
class
ClientCore
;
11
class
Client
;
12
class
ClientWithMiddlewares
;
13
class
MiddlewareBase
;
14
}
// namespace clients::http
15
16
namespace
engine
{
17
class
TaskProcessor;
18
}
19
20
namespace
tracing
{
21
class
TracingManagerBase
;
22
}
23
24
namespace
utest
{
25
26
namespace
impl {
27
28
std::shared_ptr<clients::http::ClientCore> CreateHttpClientCore();
29
30
std::shared_ptr<clients::http::ClientCore> CreateHttpClientCore(engine::TaskProcessor& fs_task_processor);
31
32
std::shared_ptr<clients::http::ClientWithMiddlewares> CreateHttpClientWithMiddlewares(
33
engine::TaskProcessor& fs_task_processor =
engine::current_task::GetBlockingTaskProcessor
()
34
);
35
36
}
// namespace impl
37
38
std::shared_ptr<clients::http::Client> CreateHttpClient();
39
40
std::shared_ptr<clients::http::Client> CreateHttpClient(engine::TaskProcessor& fs_task_processor);
41
43
std::shared_ptr<clients::http::Client>
CreateHttpClientWithMiddleware
(
clients::http::MiddlewareBase
&);
44
45
std::shared_ptr<clients::http::Client> CreateHttpClient(
const
tracing::TracingManagerBase
& tracing_manager);
46
47
}
// namespace utest
48
49
USERVER_NAMESPACE_END
userver
utest
http_client.hpp
Generated on
for userver by
Doxygen
1.17.0