LeviLamina
Loading...
Searching...
No Matches
FileRequestBody.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/http/IRequestBody.h"
7
8namespace Bedrock::Http {
9
10class FileRequestBody : public ::Bedrock::Http::Internal::IRequestBody {
11public:
12 // member variables
13 // NOLINTBEGIN
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
21 FileRequestBody& operator=(FileRequestBody const&);
22 FileRequestBody(FileRequestBody const&);
23 FileRequestBody();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::Bedrock::Http::Internal::IRequestBody::ReadResult read(::gsl::span<uchar> destination) /*override*/;
29
30 virtual uint64 getSize() /*override*/;
31
32 virtual void cancel() /*override*/;
33
34 virtual ::std::string const& getLoggableSource() const /*override*/;
35
36 virtual ::gsl::span<uchar const> getLoggableData() const /*override*/;
37
38#ifdef LL_PLAT_S
39 virtual ~FileRequestBody() /*override*/ = default;
40#else // LL_PLAT_C
41 virtual ~FileRequestBody() /*override*/;
42#endif
43
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCNAPI bool _lazyOpenFileHandle();
51#endif
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63#ifdef LL_PLAT_C
64 MCNAPI ::Bedrock::Http::Internal::IRequestBody::ReadResult $read(::gsl::span<uchar> destination);
65
66 MCNAPI uint64 $getSize();
67
68 MCNAPI void $cancel();
69
70 MCNAPI ::std::string const& $getLoggableSource() const;
71
72 MCNAPI ::gsl::span<uchar const> $getLoggableData() const;
73#endif
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
84
85} // namespace Bedrock::Http
static MCAPI void ** $vftable()
Definition IRequestBody.h:7
Definition Alias.h:14