xcurl_global_resume

Resets the internal state of XCurl to allow HTTP requests when the game resumes.

Syntax

void xcurl_global_resume(
)

Parameters

None.

Return value

None.

Remarks

Caution

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.

Use this function after you have suspended sending HTTP requests by calling xcurl_global_suspend.

When the game resumes, call this function to reset XCurl and to enable sending HTTP requests.

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_suspend