LeviLamina
Loading...
Searching...
No Matches
BufferedResponseBody.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/http/IResponseBody.h"
7#include "mc/deps/core/http/ResponseBodyType.h"
8
9namespace Bedrock::Http {
10
12public:
13 // member variables
14 // NOLINTBEGIN
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 0
29 virtual ~BufferedResponseBody() /*override*/ = default;
30
31 // vIndex: 1
32 virtual ::std::error_code start(::std::optional<uint64> size) /*override*/;
33
34 // vIndex: 2
35 virtual ::std::error_code write(::gsl::span<uchar const> source) /*override*/;
36
37 // vIndex: 3
38 virtual void complete() /*override*/;
39
40 // vIndex: 4
41 virtual void cancel() /*override*/;
42
43 // vIndex: 5
44 virtual ::std::string const& getLoggableDestination() const /*override*/;
45
46 // vIndex: 6
47 virtual ::gsl::span<uchar const> getLoggableData() const /*override*/;
48
49 // vIndex: 7
50 virtual ::Bedrock::Http::ResponseBodyType getType() const /*override*/;
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::std::error_code $start(::std::optional<uint64> size);
63
64 MCAPI ::std::error_code $write(::gsl::span<uchar const> source);
65
66 MCAPI void $complete();
67
68 MCAPI void $cancel();
69
70 MCAPI ::std::string const& $getLoggableDestination() const;
71
72 MCAPI ::gsl::span<uchar const> $getLoggableData() const;
73
74 MCFOLD ::Bedrock::Http::ResponseBodyType $getType() const;
75 // NOLINTEND
76};
77
78} // namespace Bedrock::Http
Definition BufferedResponseBody.h:11
Definition IResponseBody.h:10
Definition Alias.h:14