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 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI ::std::error_code $start(::std::optional<uint64> size);
57
58 MCNAPI ::std::error_code $write(::gsl::span<uchar const> source);
59
60 MCNAPI void $complete();
61
62 MCNAPI void $cancel();
63
64 MCNAPI ::std::string const& $getLoggableDestination() const;
65
66 MCNAPI ::gsl::span<uchar const> $getLoggableData() const;
67
68 MCNAPI ::Bedrock::Http::ResponseBodyType $getType() const;
69 // NOLINTEND
70};
71
72} // namespace Bedrock::Http
Definition BufferedResponseBody.h:11
MCAPI::std::error_code $write(::gsl::span< uchar const > source)
MCAPI::std::string const & $getLoggableDestination() const
MCAPI::std::error_code $start(::std::optional< uint64 > size)
MCAPI::Bedrock::Http::ResponseBodyType $getType() const
MCAPI ::gsl::span< uchar const > $getLoggableData() const
Definition IResponseBody.h:10
Definition Alias.h:14