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

# Web 请求

> 查找有关从 GDK 游戏发送 HTTP 和 WebSocket 请求的文章，包括 Web 请求概述、xCurl 库和 WinHTTP 功能。

本节概述在 Microsoft 游戏开发工具包 (GDK) 游戏中启用安全 HTTP 与 WebSocket 通信的相关 API。

## 本节内容

[Web 请求概述](https://docs.xbox.com/zh-CN/build/console-features/networking/web-requests/http-networking.md)
介绍如何在 Microsoft 游戏开发工具包 (GDK) 游戏中发送和接收 Web 请求。

[xCurl 概述](https://docs.xbox.com/zh-CN/build/console-features/networking/web-requests/intro-xcurl.md)
介绍 `xCurl` 与 `libCurl` API 之间的差异。

[WinHTTP 概述](https://docs.xbox.com/zh-CN/build/console-features/networking/web-requests/intro-winhttp.md)
概述 WinHTTP 在 Microsoft 游戏开发工具包 (GDK) 游戏中的功能。

## 参考 API 文档

* [Xuser (API 内容)](https://docs.xbox.com/zh-CN/reference/system/xuser/xuser_members.md)

## 另请参阅

[Windows HTTP Services (WinHTTP)](https://learn.microsoft.com/windows/desktop/winhttp/winhttp-start-page)

[XSAPI C 概述](https://learn.microsoft.com/windows/uwp/xbox-live/xsapi-flat-c)

[XUser](https://docs.xbox.com/zh-CN/reference/system/xuser/xuser_members.md)

[在 Partner Center 中设置 Web 服务 (NDA 文章)](https://docs.xbox.com/zh-CN/services/xbox-services/fundamentals/s2s-auth-calls/custom-service-config/web-services/live-web-services.md)

[XBOX 主机上的 Fiddler](https://docs.xbox.com/zh-CN/build/console-features/networking/tools/fiddler-setup-networking.md)


## Related topics

- [XBOX 上的 Web 请求与 HTTP 堆栈](https://docs.xbox.com/zh-CN/build/console-features/networking/web-requests/index.md)
- [GDK 与 XDK 之间的 Web 请求差异](https://docs.xbox.com/zh-CN/build/console-features/networking/xdk-migration/xdk-migration-web-requests-networking.md)
- [PlayFab Party 概览](https://docs.xbox.com/zh-CN/build/console-features/networking/index.md)
- [XUserGetTokenAndSignatureAsync](https://docs.xbox.com/zh-CN/reference/system/xuser/functions/xusergettokenandsignatureasync.md)
- [XUserGetTokenAndSignatureUtf16Async](https://docs.xbox.com/zh-CN/reference/system/xuser/functions/xusergettokenandsignatureutf16async.md)
