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 virtual ~IResponseBody() = default;
15
16 virtual ::std::error_code start(::std::optional<uint64>) = 0;
17
18 virtual ::std::error_code write(::gsl::span<uchar const>) = 0;
19
20 virtual void complete() = 0;
21
22 virtual void cancel() = 0;
23
24 virtual ::std::string const& getLoggableDestination() const = 0;
25
26 virtual ::gsl::span<uchar const> getLoggableData() const = 0;
27
28 virtual ::Bedrock::Http::ResponseBodyType getType() const = 0;
29 // NOLINTEND
30
31public:
32 // virtual function thunks
33 // NOLINTBEGIN
34
35 // NOLINTEND
36};
37
38} // namespace Bedrock::Http::Internal
Definition IResponseBody.h:10