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

# xcurl_global_suspend

> xcurl_global_suspend

# xcurl\_global\_suspend

アクティブな Web 要求を終了し、新しい要求の送信を防ぎます。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
void xcurl_global_suspend(
)
```

<a id="parametersSection" />

### パラメーター

なし。

<a id="retvalSection" />

### 戻り値

なし。

<a id="remarksSection" />

## 解説

<Warning>2021 年 4 月の GDK 以降、サスペンドと再開は XCurl 内部で自動的に処理されるようになりました。この関数は引き続き安全に呼び出せますが、no-op (何も行わない) です。以下の解説は、2021 年 4 月の GDK より前のバージョンにのみ適用されます。</Warning>

この関数は、イージー ハンドルからのすべての HTTP 要求を中止し、新しい HTTP 要求の送信を防ぎます。

再度 HTTP 要求の送信を再開するには、[xcurl\_global\_resume](/reference/networking/xcurl/functions/xcurl_global_resume) 関数を呼び出します。

WinHttp と同様に、サスペンド イベントを受信したときにネットワークおよび HTTP ハンドルをクリーンアップする必要があります。

<a id="requirementsSection" />

## 要件

**ヘッダー:** XCurl.h

**ライブラリ:** xcurl.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ コンソール、XBOX Series コンソール

<a id="seealsoSection" />

## 関連項目

[XCurl の概要](/build/console-features/networking/web-requests/intro-xcurl)\
[HTTP および WebSocket](/build/console-features/networking/web-requests/http-networking)\
[curl](https://curl.se/)\
[xcurl\_global\_resume](/reference/networking/xcurl/functions/xcurl_global_resume)


## Related topics

- [xcurl_global_resume](/ja-jp/reference/networking/xcurl/functions/xcurl_global_resume.md)
- [xcurl_global_init_mem](/ja-jp/reference/networking/xcurl/functions/xcurl_global_init_mem.md)
- [xCurl の概要](/ja-jp/build/console-features/networking/web-requests/intro-xcurl.md)
- [IXtfApplicationClient::Suspend](/ja-jp/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/suspend-ixtfapplicationclient-xtfapplication-xbox-windows.md)
- [PlayFabMultiplayerManager.Get().Suspend](/ja-jp/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysuspend.md)
