◆ RetryPolicy()
| MCAPI Bedrock::Http::RetryPolicy::RetryPolicy |
( |
::std::function<::std::optional<::std::chrono::seconds >(::Bedrock::Http::Response const &)> && | implementation | ) |
|
|
explicit |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ getDelay()
| MCAPI ::std::optional<::std::chrono::seconds > Bedrock::Http::RetryPolicy::getDelay |
( |
::Bedrock::Http::Response const & | response | ) |
const |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ Always()
| MCAPI ::std::function<::std::optional<::std::chrono::seconds >(::Bedrock::Http::Response const &)> Bedrock::Http::RetryPolicy::Always |
( |
::std::chrono::seconds | delay | ) |
|
|
static |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ Chained()
| MCAPI ::std::function<::std::optional<::std::chrono::seconds >(::Bedrock::Http::Response const &)> Bedrock::Http::RetryPolicy::Chained |
( |
::std::initializer_list< ::std::function<::std::optional<::std::chrono::seconds >(::Bedrock::Http::Response const &)> > && | retryChain | ) |
|
|
static |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ ExponentialBackOff()
| MCAPI ::std::function<::std::optional<::std::chrono::seconds >(::Bedrock::Http::Response const &)> Bedrock::Http::RetryPolicy::ExponentialBackOff |
( |
::std::chrono::seconds | baseDelay, |
|
|
::std::chrono::seconds | maxDelay ) |
|
static |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $ctor()
| MCAPI void * Bedrock::Http::RetryPolicy::$ctor |
( |
::std::function<::std::optional<::std::chrono::seconds >(::Bedrock::Http::Response const &)> && | implementation | ) |
|
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
The documentation for this class was generated from the following file: