> ## 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.

# XblContextSettingsSetHttpTimeoutWindow

> XblContextSettingsSetHttpTimeoutWindow

# XblContextSettingsSetHttpTimeoutWindow

HTTP 시간 초과 기간을 초 단위로 설정합니다.

## Syntax

```cpp theme={null}
HRESULT XblContextSettingsSetHttpTimeoutWindow(  
         XblContextHandle context,  
         uint32_t timeoutWindowInSeconds  
)  
```

### Parameters

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

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

*timeoutWindowInSeconds*   \_In\_\
Type: uint32\_t

시간 초과 기간(초)입니다. 기본값은 20초입니다. 재시도를 끄려면 0으로 설정합니다.

### Return value

Type: HRESULT

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

## Remarks

이는 멱등 서비스 호출이 실패하기 전까지 재시도를 시도하는 데 소요할 시간을 제어합니다.<br /><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)
- [XblContextSettingsGetHttpRetryDelay](/ko/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgethttpretrydelay.md)
- [XBOX services 호출 모범 사례](/ko/services/xbox-services/develop/best-practices/live-best-practices-calling-xbl.md)
- [XblContextSettingsGetHttpTimeoutWindow](/ko/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingsgethttptimeoutwindow.md)
- [XblContextSettingsSetLongHttpTimeout](/ko/reference/live/xsapi-c/xbox_live_context_settings_c/functions/xblcontextsettingssetlonghttptimeout.md)
