SocketsHttpHandler.Expect100ContinueTimeout 속성

정의

서버 HTTP 100 Continue 응답의 제한 시간 값을 가져오거나 설정합니다.

public:
 property TimeSpan Expect100ContinueTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Expect100ContinueTimeout { get; set; }
member this.Expect100ContinueTimeout : TimeSpan with get, set
Public Property Expect100ContinueTimeout As TimeSpan

속성 값

HTTP 100 Continue를 대기할 시간 범위입니다. 기본값은 1초입니다.

예외

지정된 시간 제한이 0보다 작거나 같으며 InfiniteTimeSpan

-또는-

지정된 시간 제한이 밀리초보다 MaxValue 큽니다.

현재 인스턴스에서 작업이 이미 시작되었습니다.

현재 인스턴스가 삭제되었습니다.

설명

요청이 헤더를 포함하는 Expect: 100-continue 경우 클라이언트가 본문을 보내기 전에 서버가 HTTP 상태에 100 Continue 응답해야 합니다. SocketsHttpHandler.Expect100ContinueTimeout 는 서버 응답에 대한 시간 제한을 정의합니다 100 Continue .

적용 대상