Skip to main content

HCSetHttpCallPerformFunction

Optionally allows the caller to implement the HTTP perform function.

Syntax

Parameters

performFunc   _In_
Type: HCCallPerformFunction
A callback that implements HTTP perform function as desired. performContext   _In_opt_
Type: void*
The context for the callback.

Return value

Type: HRESULT Result code for this API operation. Possible values are S_OK, or E_HC_ALREADY_INITIALISED.

Remarks

Must be called before HCInit. In the HCCallPerformFunction callback, use HCHttpCallRequestGet*() and HCSettingsGet*() to get information about the HTTP call and perform the call as desired and set the response with HCHttpCallResponseSet*().

Requirements

Header: httpProvider.h Library: libHttpClient.GDK.lib

See also

httpProvider
Last modified on August 4, 2026