LeviLamina
Loading...
Searching...
No Matches
http_singleton.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/lib_http_client/http_alloc_deleter.h"
7
8// auto generated forward declare list
9// clang-format off
10struct HCInitArgs;
11namespace xbox::httpclient { class NetworkState; }
12namespace xbox::httpclient { struct http_retry_after_api_state; }
13// clang-format on
14
15namespace xbox::httpclient {
16
18public:
19 // http_singleton inner types define
20 enum class singleton_access_mode : uint {};
21
22public:
23 // prevent constructor by default
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCNAPI void clear_retry_state(uint);
30
31 MCNAPI ::xbox::httpclient::http_retry_after_api_state get_retry_state(uint);
32
33 MCNAPI explicit http_singleton(
35 );
36
38
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static long create(::HCInitArgs*);
46
47 MCNAPI static long singleton_access(
48 ::xbox::httpclient::http_singleton::singleton_access_mode,
50 ::std::shared_ptr<::xbox::httpclient::http_singleton>&
51 );
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCNAPI void* $ctor(
59 );
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67};
68
69} // namespace xbox::httpclient
Definition NetworkState.h:25
Definition HCInitArgs.h:5
Definition http_alloc_deleter.h:6
Definition http_retry_after_api_state.h:7
Definition http_singleton.h:17
MCAPI void clear_retry_state(uint)
MCAPI::xbox::httpclient::http_retry_after_api_state get_retry_state(uint)
MCAPI void set_retry_state(uint, ::xbox::httpclient::http_retry_after_api_state const &)
static MCAPI long create(::HCInitArgs *)
MCAPI void * $ctor(::std::unique_ptr<::xbox::httpclient::NetworkState, ::http_alloc_deleter<::xbox::httpclient::NetworkState > >)
static MCAPI long singleton_access(::xbox::httpclient::http_singleton::singleton_access_mode, ::HCInitArgs *, ::std::shared_ptr<::xbox::httpclient::http_singleton > &)
MCAPI http_singleton(::std::unique_ptr<::xbox::httpclient::NetworkState, ::http_alloc_deleter<::xbox::httpclient::NetworkState > >)