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

# PFSetHttpSettings

> 設定 SDK 的全域一般 HTTP 設定。

設定 SDK 的全域一般 HTTP 設定。

## 語法

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

### 參數

**`settings`**   [PFHttpSettings\*](/zh-TW/services/playfab/api-references/c/pfhttpconfig/structs/pfhttpsettings)

一般設定的指標。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 需求

**標頭：** PFHttpConfig.h

## 另請參閱

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


## Related topics

- [服務 C API 概觀 - PFHttpConfig.h](/zh-TW/services/playfab/api-references/c/pfhttpconfig/pfhttpconfig_members.md)
- [HTTP 設定](/zh-TW/services/playfab/sdks/c/http-config.md)
- [PFSetHttpRetrySettings](/zh-TW/services/playfab/api-references/c/pfhttpconfig/functions/pfsethttpretrysettings.md)
- [XblContextSettingsSetHttpTimeoutWindow](/zh-TW/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingssethttptimeoutwindow.md)
- [XblContextSettingsSetLongHttpTimeout](/zh-TW/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingssetlonghttptimeout.md)
