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 // prevent constructor by default
19 HC_CALL();
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCNAPI ::xbox::httpclient::Result<::std::chrono::seconds> GetRetryAfterHeaderTime();
25
27
29
30 MCNAPI ::xbox::httpclient::Result<bool> ShouldFailFast(uint&);
31
32 MCNAPI bool ShouldRetry(uint&);
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCNAPI static void CompressRequestBody(void*, bool);
39
40 MCNAPI static long PerfomAsyncProvider(::XAsyncOp, ::XAsyncProviderData const*);
41
42 MCNAPI static void PerformSingleRequest(void*, bool);
43
44 MCNAPI static long PerformSingleRequestAsyncProvider(::XAsyncOp, ::XAsyncProviderData const*);
45
47
48 MCNAPI static long ReadRequestBody(::HC_CALL*, uint64, uint64, void*, uchar*, uint64*);
49
50 MCNAPI static long ResponseBodyWrite(::HC_CALL*, uchar const*, uint64, void*);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition IHttpProvider.h:7
Definition HC_CALL.h:16
MCAPI ::xbox::httpclient::Result<::std::chrono::seconds > GetRetryAfterHeaderTime()
MCAPI bool ShouldRetry(uint &)
static MCAPI long PerfomAsyncProvider(::XAsyncOp, ::XAsyncProviderData const *)
MCAPI ::xbox::httpclient::Result< bool > ShouldFailFast(uint &)
static MCAPI long ReadRequestBody(::HC_CALL *, uint64, uint64, void *, uchar *, uint64 *)
static MCAPI void ** $vftable()
static MCAPI long PerformSingleRequestAsyncProvider(::XAsyncOp, ::XAsyncProviderData const *)
static MCAPI void PerformSingleRequestComplete(::XAsyncBlock *)
MCAPI HC_CALL(uint64, ::xbox::httpclient::IHttpProvider &)
static MCAPI long ResponseBodyWrite(::HC_CALL *, uchar const *, uint64, void *)
MCAPI long PerformAsync(::XAsyncBlock *)
static MCAPI void PerformSingleRequest(void *, bool)
static MCAPI void CompressRequestBody(void *, bool)
MCAPI void * $ctor(uint64, ::xbox::httpclient::IHttpProvider &)
Definition XAsyncBlock.h:10
Definition XAsyncProviderData.h:5