LeviLamina
Loading...
Searching...
No Matches
IResponseBody.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/http/ResponseBodyType.h"
7
8namespace Bedrock::Http::Internal {
9
11public:
12 // virtual functions
13 // NOLINTBEGIN
14 // vIndex: 0
15 virtual ~IResponseBody() = default;
16
17 // vIndex: 1
18 virtual ::std::error_code start(::std::optional<uint64>) = 0;
19
20 // vIndex: 2
21 virtual ::std::error_code write(::gsl::span<uchar const>) = 0;
22
23 // vIndex: 3
24 virtual void complete() = 0;
25
26 // vIndex: 4
27 virtual void cancel() = 0;
28
29 // vIndex: 5
30 virtual ::std::string const& getLoggableDestination() const = 0;
31
32 // vIndex: 6
33 virtual ::gsl::span<uchar const> getLoggableData() const = 0;
34
35 // vIndex: 7
36 virtual ::Bedrock::Http::ResponseBodyType getType() const = 0;
37 // NOLINTEND
38
39public:
40 // destructor thunk
41 // NOLINTBEGIN
42
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48
49 // NOLINTEND
50};
51
52} // namespace Bedrock::Http::Internal
Definition IResponseBody.h:10