LeviLamina
Loading...
Searching...
No Matches
ITransport.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
9namespace JsonRpc {
10
12public:
13 // virtual functions
14 // NOLINTBEGIN
15 virtual ~ITransport() = default;
16
17 virtual ::Bedrock::Threading::Async<::Bedrock::Result<void>>
18 sendJsonRpc(::std::optional<::std::string> const& messageId, ::std::string const& message) const = 0;
19 // NOLINTEND
20};
21
22} // namespace JsonRpc
Definition ITransport.h:11