We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3b506 commit 3445d15Copy full SHA for 3445d15
Sources/WebRequest/Delivery/HTTPWebRequestDelivery.swift
@@ -3,7 +3,11 @@ import Foundation
3
open class HTTPWebRequestDelivery : NSObject, WebRequestDelivery {
4
public typealias ErrorCode = WebRequest.Result.ErrorCode
5
6
- public let timeoutInterval: TimeInterval = 60.0
+ public static var timeout: TimeInterval = 60.0
7
+
8
+ public var timeoutInterval: TimeInterval {
9
+ return type(of: self).timeout
10
+ }
11
12
open func deliver(request:WebRequest) throws {
13
0 commit comments