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 MCNAPI_C bool _lazyOpenFileHandle();
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCNAPI void $dtor();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61#ifdef LL_PLAT_C
62 MCNAPI ::Bedrock::Http::Internal::IRequestBody::ReadResult $read(::gsl::span<uchar> destination);
63
64 MCNAPI uint64 $getSize();
65
66 MCNAPI void $cancel();
67
68 MCNAPI ::std::string const& $getLoggableSource() const;
69
70 MCNAPI ::gsl::span<uchar const> $getLoggableData() const;
71#endif
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace Bedrock::Http
static MCAPI void ** $vftable()
Definition IRequestBody.h:7
Definition Alias.h:14