Skip to content
LeviLamina
Loading...
Searching...
No Matches
INativeHttpDelegate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class TaskGroup;
8namespace Bedrock::Http { class Request; }
9namespace Bedrock::Http { class Response; }
10// clang-format on
11
12namespace ScriptModuleMinecraftNet {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~INativeHttpDelegate() = default;
19
20 virtual bool isInitialized() const = 0;
21
22 virtual void send(
23 ::TaskGroup& taskGroup,
25 ::std::function<void(::Bedrock::Http::Response const&)> callback
26 ) = 0;
27 // NOLINTEND
28};
29
30} // namespace ScriptModuleMinecraftNet
Definition Request.h:15
Definition Response.h:7
Definition INativeHttpDelegate.h:14
Definition TaskGroup.h:86