Skip to main content

HCHttpCallResponseSetStatusCode

Set the HTTP status code of the HTTP call response.

Syntax

Parameters

call   _In_
Type: HCCallHandle
The handle of the HTTP call. statusCode   _In_
Type: uint32_t
the HTTP status code of the HTTP call response.

Return value

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

Requirements

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

See also

httpProvider
Last modified on August 4, 2026