xcurl_global_suspend

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

Syntax

void xcurl_global_suspend(
)

Parameters

None.

Return value

None.

Remarks

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.

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
HTTP and Web Sockets
curl
xcurl_global_resume