LeviLamina
Loading...
Searching...
No Matches
IRequestHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/Async.h"
7#include "mc/platform/Result.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Json { class Value; }
12namespace JsonRpc { class JsonRpcError; }
13namespace JsonRpc { class JsonRpcProvider; }
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17namespace JsonRpc {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual ~IRequestHandler() = default;
24
25 virtual ::Bedrock::Threading::Async<::Bedrock::Result<void, ::JsonRpc::JsonRpcError>> call(
26 ::Json::Value const&,
27 ::std::string const&,
29 ::std::shared_ptr<::JsonRpc::JsonRpcProvider>
30 ) = 0;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36
37 // NOLINTEND
38};
39
40} // namespace JsonRpc
Definition IRequestHandler.h:19
Definition JsonRpcError.h:12
Definition JsonRpcProvider.h:19
Definition Value.h:16
Definition ReflectionCtx.h:11