Retry settings
The PFHttpRetrySettings struct controls how the SDK handles transient HTTP failures, such as throttling errors (HTTP 429). By default, the SDK automatically retries these failures with backoff.
For more information on which errors the SDK retries automatically, see Handling PlayFab Errors.
Set retry settings
Call PFSetHttpRetrySettings to customize the retry behavior. For example, to increase the retry window for calls that can tolerate longer waits:Get retry settings
Call PFGetHttpRetrySettings to retrieve the current retry configuration:Disable automatic retries
If you want to handle all retry logic yourself, disable automatic retries:HTTP settings
The PFHttpSettings struct controls general HTTP behavior for all SDK requests.Enable response compression
Enabling response compression can reduce bandwidth usage, which is useful for calls that return large payloads. Call PFSetHttpSettings to enable it:To decompress a compressed response, HCHttpCallResponseSetGzipCompressed must be called before calling HCHttpCallPerformAsync.
