LeviLamina
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
7namespace RakNet { class BitStream; }
8// clang-format on
9
11public:
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
25public:
26 // member variables
27 // NOLINTBEGIN
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
38 HttpHeaders& operator=(HttpHeaders const&);
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI bool getHeader(::std::string const& name, ::std::string& outValue) const;
46
47 MCAPI ::std::string getStatusCode() const;
48
49 MCAPI ::HttpHeaders::ParseState parse(::RakNet::BitStream& data);
50
51 MCAPI ~HttpHeaders();
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCAPI void $dtor();
58 // NOLINTEND
59};
Definition HttpHeaders.h:10
Definition BitStream.h:7
Definition Alias.h:14