Compartilhar via


HCHttpCallRequestGetRetryAllowed

Gets if retry is allowed for this HTTP call.

Syntax

HRESULT HCHttpCallRequestGetRetryAllowed(  
         HCCallHandle call,  
         bool* retryAllowed  
)  

Parameters

call   _In_opt_
Type: HCCallHandle

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

retryAllowed   _Out_
Type: bool*

If retry is allowed 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 true.

Requirements

Header: httpProvider.h

Library: libHttpClient.GDK.lib

See also

httpProvider