userver: userver/server/handlers/dump_coroutines.hpp Source File
Loading...
Searching...
No Matches
dump_coroutines.hpp
Go to the documentation of this file.
1#pragma once
2
5
8
9USERVER_NAMESPACE_BEGIN
10
11namespace server::handlers {
12
16class DumpCoroutines final : public HttpHandlerJsonBase {
17public:
18 DumpCoroutines(const components::ComponentConfig& config, const components::ComponentContext& component_context);
19
20 ~DumpCoroutines() override;
21
24 static constexpr std::string_view kName = "handler-dump-coroutines";
25
26 formats::json::Value HandleRequestJsonThrow(
28 const formats::json::Value& request_json,
30 ) const override;
31
32private:
33 struct Impl;
35};
36
37} // namespace server::handlers
38
39USERVER_NAMESPACE_END