Instance Property

timeoutInterval

The request’s timeout interval, in seconds.

Declaration

var timeoutInterval: TimeInterval { get }

Discussion

If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out.

See Also

Controlling Request Behavior

var httpShouldHandleCookies: Bool

A Boolean value that indicates whether the default cookie handling will be used for this request.

var httpShouldUsePipelining: Bool

A Boolean value that indicates whether the request should continue transmitting data before receiving a response from an earlier transmission.

var allowsCellularAccess: Bool

A Boolean value that indicates whether the request is allowed to use the cellular radio (if present).