HCHttpCallRequestGetTimeout

Gets the timeout for this HTTP call.

Syntax

HRESULT HCHttpCallRequestGetTimeout(  
         HCCallHandle call,  
         uint32_t* timeoutInSeconds  
)  

Parameters

call   _In_opt_
Type: HCCallHandle

The handle of the HTTP call. Pass nullptr to get the default for future calls.

timeoutInSeconds   _Out_
Type: uint32_t*

the timeout for this HTTP call.

Return value

Type: HRESULT

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

Remarks

Defaults to 30 seconds.

Requirements

Header: httpProvider.h

Library: libHttpClient.141.GSDK.C.lib

See also

httpProvider