LeviLamina
Loading...
Searching...
No Matches
FileResponseBody.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 // FileResponseBody inner types define
14 enum class FileOpen : int {
15 CreateOnly = 0,
16 Overwrite = 1,
17 };
18
19public:
20 // member variables
21 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 FileResponseBody& operator=(FileResponseBody const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~FileResponseBody() /*override*/ = default;
39
40 // vIndex: 1
41 virtual ::std::error_code start(::std::optional<uint64>) /*override*/;
42
43 // vIndex: 2
44 virtual ::std::error_code write(::gsl::span<uchar const>) /*override*/;
45
46 // vIndex: 3
47 virtual void complete() /*override*/;
48
49 // vIndex: 4
50 virtual void cancel() /*override*/;
51
52 // vIndex: 5
53 virtual ::std::string const& getLoggableDestination() const /*override*/;
54
55 // vIndex: 6
56 virtual ::gsl::span<uchar const> getLoggableData() const /*override*/;
57
58 // vIndex: 7
59 virtual ::Bedrock::Http::ResponseBodyType getType() const /*override*/;
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71
72 // NOLINTEND
73};
74
75} // namespace Bedrock::Http
Definition FileResponseBody.h:11
Definition IResponseBody.h:10
Definition Alias.h:14