CurlSettings.

ConnectionTimeout Property

Summary

Gets or sets the maximum amount of time the connection to the remote machine is allowed to take.
Assembly
Cake.Curl.dll
Namespace
Cake.Curl
Containing Type
CurlSettings

Syntax

public Nullable<TimeSpan> ConnectionTimeout { get; set; }

Remarks

According to curl's documentation, this option only limits the connection time, while MaxTime applies to the whole operation. As of version 7.32.0, it's possible to specify decimal values (e.g
0.5
seconds), but keep in mind that the timeout accuracy will decrease as the number of decimal digits increases.

Value

Type Description
Nullable<TimeSpan>

See Also