PollingURLInfo
public class PollingURLInfo : BoxModel
Polling URL info for requesting changes in event stream.
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
URL value for checking for new events.
Declaration
Swift
public let url: URL
-
Timeout in seconds after which request for new changes should be repeated.
Declaration
Swift
public let timeoutInSeconds: Int
-
Maximum number of retries in case of failed request for new changes.
Declaration
Swift
public let maxRetries: String
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.