Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
IRequestBody.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
Bedrock::Http::Internal {
6
7
class
IRequestBody
:
public
::std::enable_shared_from_this<::Bedrock::Http::Internal::IRequestBody> {
8
public
:
9
// IRequestBody inner types declare
10
// clang-format off
11
struct
ReadResult
;
12
// clang-format on
13
14
// IRequestBody inner types define
15
struct
ReadResult {
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::UntypedStorage<1, 1>
mUnkb4d25b;
20
::ll::UntypedStorage<8, 8>
mUnk659573;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
ReadResult& operator=(ReadResult
const
&);
26
ReadResult(ReadResult
const
&);
27
ReadResult();
28
};
29
30
public
:
31
// virtual functions
32
// NOLINTBEGIN
33
virtual
~IRequestBody
() =
default
;
34
35
virtual ::Bedrock::Http::Internal::IRequestBody::ReadResult read(::gsl::span<uchar> destination) = 0;
36
37
virtual
uint64 getSize() = 0;
38
39
virtual
void
cancel() = 0;
40
41
virtual ::std::string
const
& getLoggableSource()
const
= 0;
42
43
virtual ::gsl::span<uchar const> getLoggableData()
const
= 0;
44
// NOLINTEND
45
};
46
47
}
// namespace Bedrock::Http::Internal
Bedrock::Http::Internal::IRequestBody
Definition
IRequestBody.h:7
Bedrock::Http::Internal::IRequestBody::ReadResult
Definition
IRequestBody.h:15
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
core
http
IRequestBody.h
Generated on
for LeviLamina by
1.16.1