LeviLamina
Loading...
Searching...
No Matches
HTTPConnection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace RakNet {
6
8public:
9 // HTTPConnection inner types declare
10 // clang-format off
11 struct BadResponse;
12 struct OutgoingCommand;
13 // clang-format on
14
15 // HTTPConnection inner types define
16 enum class ResponseCodes : int {
17 NoBody = 1001,
18 Ok = 200,
19 Deleted = 1002,
20 };
21
22 struct BadResponse {
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 BadResponse& operator=(BadResponse const&);
35 };
36
38 public:
39 // member variables
40 // NOLINTBEGIN
45 // NOLINTEND
46
47 public:
48 // prevent constructor by default
49 OutgoingCommand& operator=(OutgoingCommand const&);
52 };
53
54 enum class ConnectionState : int {
55 None = 0,
56 Disconnecting = 1,
57 Connecting = 2,
58 Connected = 3,
59 Processing = 4,
60 };
61
62public:
63 // member variables
64 // NOLINTBEGIN
75 // NOLINTEND
76
77public:
78 // prevent constructor by default
79 HTTPConnection& operator=(HTTPConnection const&);
82
83public:
84 // virtual functions
85 // NOLINTBEGIN
86 // vIndex: 0
87 virtual ~HTTPConnection() = default;
88 // NOLINTEND
89
90public:
91 // destructor thunk
92 // NOLINTBEGIN
93
94 // NOLINTEND
95};
96
97} // namespace RakNet
Definition HTTPConnection.h:7
Definition HTTPConnection.h:22
Definition HTTPConnection.h:37
Definition Alias.h:14