HCHttpCallRequestSetTimeout
Sets the timeout for this HTTP call.
Syntax
HRESULT HCHttpCallRequestSetTimeout(
HCCallHandle call,
uint32_t timeoutInSeconds
)
Parameters
call _In_opt_
Type: HCCallHandle
The handle of the HTTP call. Pass nullptr to set the default for future calls.
timeoutInSeconds _In_
Type: uint32_t
The timeout for this HTTP call.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, or E_FAIL.
Remarks
Defaults to 30 seconds. This must be called prior to calling HCHttpCallPerformAsync.
Requirements
Header: httpClient.h
Library: libHttpClient.141.GSDK.C.lib