LeviLamina
Loading...
Searching...
No Matches
BinaryRequestBody.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 BinaryRequestBody : public ::Bedrock::Http::Internal::IRequestBody {
11public:
12 // member variables
13 // NOLINTBEGIN
16 // NOLINTEND
17
18public:
19 // prevent constructor by default
20 BinaryRequestBody& operator=(BinaryRequestBody const&);
21 BinaryRequestBody(BinaryRequestBody const&);
22 BinaryRequestBody();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~BinaryRequestBody() /*override*/ = default;
28
29 virtual ::Bedrock::Http::Internal::IRequestBody::ReadResult read(::gsl::span<uchar> destination) /*override*/;
30
31 virtual uint64 getSize() /*override*/;
32
33 virtual void cancel() /*override*/;
34
35 virtual ::std::string const& getLoggableSource() const /*override*/;
36
37 virtual ::gsl::span<uchar const> getLoggableData() const /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI void setData(::gsl::span<uchar const> data);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCNAPI ::Bedrock::Http::Internal::IRequestBody::ReadResult $read(::gsl::span<uchar> destination);
50
51 MCNAPI uint64 $getSize();
52
53 MCNAPI void $cancel();
54
55 MCNAPI ::std::string const& $getLoggableSource() const;
56
57 MCNAPI ::gsl::span<uchar const> $getLoggableData() const;
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
68
69} // namespace Bedrock::Http
MCAPI::std::string const & $getLoggableSource() const
MCAPI ::gsl::span< uchar const > $getLoggableData() const
MCAPI::Bedrock::Http::Internal::IRequestBody::ReadResult $read(::gsl::span< uchar > destination)
static MCAPI void ** $vftable()
MCAPI void setData(::gsl::span< uchar const > data)
Definition IRequestBody.h:7
Definition Alias.h:14