3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/lib_http_client/http_alloc_deleter.h"
11namespace xbox::httpclient {
class NetworkState; }
12namespace xbox::httpclient {
struct http_retry_after_api_state; }
15namespace xbox::httpclient {
20 enum class singleton_access_mode :
int {
60 MCNAPI ::xbox::httpclient::http_retry_after_api_state
get_retry_state(uint retryAfterCacheId);
78 ::xbox::httpclient::http_singleton::singleton_access_mode mode,
80 ::std::shared_ptr<::xbox::httpclient::http_singleton>& singleton
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::xbox::httpclient::http_retry_after_api_state get_retry_state(uint retryAfterCacheId)
static MCAPI long singleton_access(::xbox::httpclient::http_singleton::singleton_access_mode mode, ::HCInitArgs *createArgs, ::std::shared_ptr<::xbox::httpclient::http_singleton > &singleton)
MCAPI http_singleton(::std::unique_ptr<::xbox::httpclient::NetworkState, ::http_alloc_deleter<::xbox::httpclient::NetworkState > > networkState)
MCAPI void clear_retry_state(uint retryAfterCacheId)
MCAPI void set_retry_state(uint retryAfterCacheId, ::xbox::httpclient::http_retry_after_api_state const &state)
static MCAPI long create(::HCInitArgs *args)
MCAPI void * $ctor(::std::unique_ptr<::xbox::httpclient::NetworkState, ::http_alloc_deleter<::xbox::httpclient::NetworkState > > networkState)