> ## 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.

# PFGetHttpSettings

> 获取 SDK 当前的通用 HTTP 设置。

获取 SDK 当前的通用 HTTP 设置。

## 语法

```cpp theme={null}
HRESULT PFGetHttpSettings(  
    PFHttpSettings* settings  
)  
```

### 参数

**`settings`**   [PFHttpSettings\*](/zh-CN/services/playfab/api-references/c/pfhttpconfig/structs/pfhttpsettings)<br />*输出*

指向将被填充的通用设置的指针。

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 要求

**头文件：** PFHttpConfig.h

## 另请参阅

[PFHttpConfig 成员](/zh-CN/services/playfab/api-references/c/pfhttpconfig/pfhttpconfig_members)


## Related topics

- [HTTP 配置](/zh-CN/services/playfab/sdks/c/http-config.md)
- [服务 C API 概览 - PFHttpConfig.h](/zh-CN/services/playfab/api-references/c/pfhttpconfig/pfhttpconfig_members.md)
- [PFGetHttpRetrySettings](/zh-CN/services/playfab/api-references/c/pfhttpconfig/functions/pfgethttpretrysettings.md)
- [XblContextSettingsGetLongHttpTimeout](/zh-CN/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgetlonghttptimeout.md)
- [XblContextSettingsGetHttpRetryDelay](/zh-CN/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgethttpretrydelay.md)
