SocketsHttpHandler.Expect100ContinueTimeout Property

Definition

Gets or sets the time-out value for server HTTP 100 Continue response.

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

Property Value

The timespan to wait for the HTTP 100 Continue. The default value is 1 second.

Remarks

When request contain Expect: 100-continue header the server should respond HTTP status 100 Continue before the client sends the body. SocketsHttpHandler.Expect100ContinueTimeout define the timeout for the 100 Continue server response.

Applies to