> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFHttpSettings

> Struct that defines generic Http settings for PlayFab HTTP requests. Currently holds settings to enable gzip compression on all sdk responses.

Struct that defines generic Http settings for PlayFab HTTP requests. Currently holds settings to enable gzip compression on all sdk responses.

## Syntax

```cpp theme={null}
struct PFHttpSettings {  
    bool requestResponseCompression;  
}  
```

### Members

**`requestResponseCompression`**   bool

Controls whether the SDK currently requests that incoming responses be compressed. Response compression is enabled by specifying the Accept-Encoding Header as "application/gzip". In order to decompress a compressed response provided by an API endpoint HCHttpCallResponseSetGzipCompressed must be called prior to calling HCHttpCallPerformAsync.

## Requirements

**Header:** PFHttpConfig.h

## See also

[PFHttpConfig members](/services/playfab/api-references/c/pfhttpconfig/pfhttpconfig_members)
