Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the HTTP timeout window in seconds.
Syntax
HRESULT HCHttpCallRequestGetTimeoutWindow(
HCCallHandle call,
uint32_t* timeoutWindowInSeconds
)
Parameters
call _In_opt_
Type: HCCallHandle
The handle of the HTTP call. Pass nullptr to get the default for future calls.
timeoutWindowInSeconds _Out_
Type: uint32_t*
The timeout window in seconds.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.
Remarks
This controls how long to spend attempting to retry idempotent service calls before failing.
The default is 20 seconds.
Idempotent service calls are retried when a network error occurs or the server responds
with one of these HTTP status codes:
408 (Request Timeout)
429 (Too Many Requests)
500 (Internal Server Error)
502 (Bad Gateway)
503 (Service Unavailable)
504 (Gateway Timeout)
Requirements
Header: httpProvider.h
Library: libHttpClient.GDK.lib