LeviLamina
Loading...
Searching...
No Matches
HC_CALL.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/XAsyncOp.h"
7#include "mc/external/lib_http_client/Result.h"
8
9// auto generated forward declare list
10// clang-format off
11struct XAsyncBlock;
13namespace xbox::httpclient { class IHttpProvider; }
14// clang-format on
15
16struct HC_CALL {
17public:
18 // member variables
19 // NOLINTBEGIN
55 // NOLINTEND
56
57public:
58 // prevent constructor by default
59 HC_CALL& operator=(HC_CALL const&);
60 HC_CALL(HC_CALL const&);
61 HC_CALL();
62
63public:
64 // virtual functions
65 // NOLINTBEGIN
66 // vIndex: 0
67 virtual ~HC_CALL();
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCNAPI ::xbox::httpclient::Result<::std::chrono::seconds> GetRetryAfterHeaderTime();
74
75 MCNAPI HC_CALL(uint64 _id, ::xbox::httpclient::IHttpProvider& provider);
76
77 MCNAPI long PerformAsync(::XAsyncBlock* async);
78
79 MCNAPI ::xbox::httpclient::Result<bool> ShouldFailFast(uint& performDelay);
80
81 MCNAPI bool ShouldRetry(uint& performDelay);
82 // NOLINTEND
83
84public:
85 // static functions
86 // NOLINTBEGIN
87 MCNAPI static void CompressRequestBody(void* c, bool canceled);
88
89 MCNAPI static long PerfomAsyncProvider(::XAsyncOp op, ::XAsyncProviderData const* data);
90
91 MCNAPI static void PerformSingleRequest(void* c, bool canceled);
92
93 MCNAPI static long PerformSingleRequestAsyncProvider(::XAsyncOp op, ::XAsyncProviderData const* data);
94
95 MCNAPI static void PerformSingleRequestComplete(::XAsyncBlock* async);
96
97 MCNAPI static long ReadRequestBody(
98 ::HC_CALL* call,
99 uint64 offset,
100 uint64 bytesAvailable,
101 void*,
102 uchar* destination,
103 uint64* bytesWritten
104 );
105
106 MCNAPI static long ResponseBodyWrite(::HC_CALL* call, uchar const* source, uint64 bytesAvailable, void*);
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCNAPI void* $ctor(uint64 _id, ::xbox::httpclient::IHttpProvider& provider);
113 // NOLINTEND
114
115public:
116 // destructor thunk
117 // NOLINTBEGIN
118 MCNAPI void $dtor();
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCNAPI static void** $vftable();
125 // NOLINTEND
126};
Definition IHttpProvider.h:16
Definition HC_CALL.h:16
MCAPI ::xbox::httpclient::Result<::std::chrono::seconds > GetRetryAfterHeaderTime()
static MCAPI long PerfomAsyncProvider(::XAsyncOp op, ::XAsyncProviderData const *data)
MCAPI void $dtor()
static MCAPI long ReadRequestBody(::HC_CALL *call, uint64 offset, uint64 bytesAvailable, void *, uchar *destination, uint64 *bytesWritten)
MCAPI HC_CALL(uint64 _id, ::xbox::httpclient::IHttpProvider &provider)
MCAPI bool ShouldRetry(uint &performDelay)
MCAPI void * $ctor(uint64 _id, ::xbox::httpclient::IHttpProvider &provider)
static MCAPI void ** $vftable()
static MCAPI long ResponseBodyWrite(::HC_CALL *call, uchar const *source, uint64 bytesAvailable, void *)
static MCAPI void CompressRequestBody(void *c, bool canceled)
static MCAPI void PerformSingleRequest(void *c, bool canceled)
MCAPI ::xbox::httpclient::Result< bool > ShouldFailFast(uint &performDelay)
static MCAPI void PerformSingleRequestComplete(::XAsyncBlock *async)
static MCAPI long PerformSingleRequestAsyncProvider(::XAsyncOp op, ::XAsyncProviderData const *data)
MCAPI long PerformAsync(::XAsyncBlock *async)
Definition XAsyncBlock.h:10
Definition XAsyncProviderData.h:5
Definition Alias.h:14