Table of Contents

Property ConnectTimeout

Namespace
MailFathom.Infrastructure.ObjectStorage
Assembly
MailFathom.Infrastructure.dll

ConnectTimeout

Gets how long establishing a connection to the endpoint may take.

public TimeSpan ConnectTimeout { get; }

Property Value

TimeSpan

Remarks

Separate from RequestTimeout because the two answer different questions. An endpoint whose address resolves to nothing, or whose port is filtered, otherwise consumes a whole request budget doing nothing; bounding the connect alone turns that into a fast transport failure the attempt after it can act on.