> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblContextSettingsGetHttpRetryDelay

> XblContextSettingsGetHttpRetryDelay

# XblContextSettingsGetHttpRetryDelay

HTTP 재시도 지연을 초 단위로 가져옵니다.

## Syntax

```cpp theme={null}
HRESULT XblContextSettingsGetHttpRetryDelay(  
         XblContextHandle context,  
         uint32_t* delayInSeconds  
)  
```

### Parameters

*context*   \_In\_\
Type: [XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

설정이 연결된 XBOX live 컨텍스트입니다.

*delayInSeconds*   \_Out\_\
Type: uint32\_t\*

재시도 지연을 초 단위로 반환합니다. 재시도는 지수 백오프를 사용하여 지연됩니다. 기본적으로 2초 지연 후 다음 재시도는 4초, 그다음은 8초 지연되고, 이런 식으로 최대 1분까지 늘어나며, 호출이 성공하거나 http\_timeout\_window에 도달할 때까지 반복되며 그 시점에서 호출이 실패합니다. 지연은 서비스 부하를 분산하기 위해 현재 지연과 다음 지연 사이에서 지터(jitter)됩니다. http\_timeout\_window의 기본값은 20초이며 XblContextSettingsSetHttpTimeoutWindow를 사용하여 변경할 수 있습니다.

### Return value

Type: HRESULT

이 API 작업의 HRESULT 반환 코드입니다.

## Remarks

서비스가 “Retry-After” 헤더와 함께 HTTP 오류를 반환하는 경우 “Retry-After” 시간에 도달할 때까지 해당 API에 대한 이후의 모든 호출은 서비스에 접속하지 않고 원래 오류와 함께 즉시 실패합니다. <br /> 멱등 서비스 호출은 네트워크 오류가 발생하거나 서버가 다음 HTTP 상태 코드 중 하나로 응답할 때 재시도됩니다.<br /> 408(요청 시간 초과)<br /> 429(요청이 너무 많음)<br /> 500(내부 서버 오류)<br /> 502(잘못된 게이트웨이)<br /> 503(서비스를 사용할 수 없음)<br /> 504(게이트웨이 시간 초과)<br />

## Requirements

**Header:** xbox\_live\_context\_settings\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[xbox\_live\_context\_settings\_c](/reference/live/xsapi-c/xbox_live_context_settings_c/xbox_live_context_settings_c_members)


## Related topics

- [XblContextSettingsSetHttpRetryDelay](/ko/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingssethttpretrydelay.md)
- [XblContextSettingsGetLongHttpTimeout](/ko/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgetlonghttptimeout.md)
- [XblContextSettingsGetHttpTimeoutWindow](/ko/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgethttptimeoutwindow.md)
- [HCHttpCallRequestGetRetryDelay](/ko/reference/live/httpclient/httpprovider/functions/hchttpcallrequestgetretrydelay.md)
- [HCHttpCallRequestSetRetryDelay](/ko/reference/live/httpclient/httpclient/functions/hchttpcallrequestsetretrydelay.md)
