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
HttpHeaders.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
namespace
RakNet {
class
BitStream
; }
8
// clang-format on
9
10
class
HttpHeaders {
11
public
:
12
// HttpHeaders inner types define
13
enum class
ParseState :
int
{
14
ProcessStatusLine = 0,
15
StatusLineDone = 1,
16
NewField = 2,
17
Name = 3,
18
Value = 4,
19
AddField = 5,
20
ProcessFields = 6,
21
Done = 7,
22
Abort = 8,
23
};
24
25
public
:
26
// member variables
27
// NOLINTBEGIN
28
::ll::UntypedStorage<8, 16>
mUnk322ef0;
29
::ll::UntypedStorage<8, 32>
mUnk753f06;
30
::ll::UntypedStorage<4, 4>
mUnk283a8f;
31
::ll::UntypedStorage<8, 32>
mUnkdd9fc0;
32
::ll::UntypedStorage<8, 32>
mUnkc407e8;
33
::ll::UntypedStorage<8, 8>
mUnk538f94;
34
// NOLINTEND
35
36
public
:
37
// prevent constructor by default
38
HttpHeaders& operator=(HttpHeaders
const
&);
39
HttpHeaders(HttpHeaders
const
&);
40
HttpHeaders();
41
42
public
:
43
// member functions
44
// NOLINTBEGIN
45
MCNAPI
bool
getHeader
(::std::string
const
& name, ::std::string& outValue)
const
;
46
47
MCNAPI ::HttpHeaders::ParseState
parse
(
::RakNet::BitStream
& data);
48
// NOLINTEND
49
};
HttpHeaders::parse
MCAPI::HttpHeaders::ParseState parse(::RakNet::BitStream &data)
HttpHeaders::getHeader
MCAPI bool getHeader(::std::string const &name, ::std::string &outValue) const
RakNet::BitStream
Definition
BitStream.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
websockets
HttpHeaders.h
Generated on
for LeviLamina by
1.16.1