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

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

<a id="syntaxSection" />

## Syntax

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

<a id="parametersSection" />

### Parameters

None.

<a id="retvalSection" />

### Return value

None.

<a id="remarksSection" />

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

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](/reference/networking/xcurl/functions/xcurl_global_resume).

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

<a id="requirementsSection" />

## Requirements

**Header:** XCurl.h

**Library:** xcurl.lib

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

<a id="seealsoSection" />

## See also

[XCurl Overview](/build/console-features/networking/web-requests/intro-xcurl)\
[HTTP and Web Sockets](/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](/reference/networking/xcurl/functions/xcurl_global_resume.md)
- [xcurl_global_init_mem](/reference/networking/xcurl/functions/xcurl_global_init_mem.md)
- [xCurl overview](/build/console-features/networking/web-requests/intro-xcurl.md)
- [Introduction to Microsoft Game Development Kit networking](/build/console-features/networking/introduction-networking.md)
- [Detecting network initialization status](/build/console-features/networking/initialization-connectivity-networking.md)
