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

# xcurl_global_suspend

> xcurl_global_suspend

Terminates active web requests, and prevents new requests from being sent.

## Syntax

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

### Parameters

None.

### Return value

None.

## Remarks

> [!WARNING]
>
> As of the April 2021 GDK, suspend and resume is now automatically handled internally within XCurl. This
> function is still safe to call, but it is a no-op. The below remarks apply only to versions of the GDK before the
> April 2021 GDK.

This function aborts all HTTP requests from easy handles, and it prevents you from sending new HTTP requests.

To resume sending HTTP requests once again, call the function [xcurl\_global\_resume](https://docs.xbox.com/reference/networking/xcurl/functions/xcurl_global_resume.md).

Just as with WinHttp, you must clean up networking and HTTP handles upon receiving a suspend event.

## Requirements

**Header:** XCurl.h

**Library:** xcurl.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XCurl Overview](https://docs.xbox.com/build/console-features/networking/web-requests/intro-xcurl.md)\
[HTTP and Web Sockets](https://docs.xbox.com/build/console-features/networking/web-requests/http-networking.md)\
[curl](https://curl.se/)\
[xcurl\_global\_resume](https://docs.xbox.com/reference/networking/xcurl/functions/xcurl_global_resume.md)


## Related topics

- [xcurl_global_resume](https://docs.xbox.com/reference/networking/xcurl/functions/xcurl_global_resume.md)
- [xcurl_global_init_mem](https://docs.xbox.com/reference/networking/xcurl/functions/xcurl_global_init_mem.md)
- [xCurl overview](https://docs.xbox.com/build/console-features/networking/web-requests/intro-xcurl.md)
- [Suspend](https://docs.xbox.com/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/suspend-ixtfapplicationclient-xtfapplication-xbox-windows.md)
- [Overview of the GDK network stack and networking APIs](https://docs.xbox.com/build/console-features/networking/introduction-networking.md)
