LeviLamina
Loading...
Searching...
No Matches
Response.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::Http { class Status; }
8namespace Json { class Value; }
9// clang-format on
10
11namespace Bedrock::Http {
12
13class Response {
14public:
15 // member variables
16 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 Response& operator=(Response const&);
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCNAPI Response();
30
32
33 MCNAPI explicit Response(::Bedrock::Http::Status status);
34
35 MCNAPI ::gsl::span<uchar const> getBodyAsBytes() const;
36
37 MCNAPI ::Json::Value getBodyAsJson() const;
38
39 MCNAPI ~Response();
40 // NOLINTEND
41
42public:
43 // constructor thunks
44 // NOLINTBEGIN
45 MCNAPI void* $ctor();
46
47 MCNAPI void* $ctor(::Bedrock::Http::Response const&);
48
49 MCNAPI void* $ctor(::Bedrock::Http::Status status);
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCNAPI void $dtor();
56 // NOLINTEND
57};
58
59} // namespace Bedrock::Http
Definition Response.h:13
MCAPI Response(::Bedrock::Http::Response const &)
MCAPI::Json::Value getBodyAsJson() const
MCAPI void * $ctor(::Bedrock::Http::Status status)
MCAPI ::gsl::span< uchar const > getBodyAsBytes() const
MCAPI void * $ctor(::Bedrock::Http::Response const &)
MCAPI void * $ctor()
MCAPI Response(::Bedrock::Http::Status status)
Definition Status.h:7
Definition Alias.h:14