QueryOptions
public struct QueryOptions
Options related to the API request.
-
Creates a
QueryOptions
instance.Declaration
Swift
public init ( extras: [String: String]? = nil, customEndpoint: URL? = nil, trackingId: String? = nil )
Parameters
extras
A collection of key-value pairs that should be included in the request.
customEndpoint
The server to send the request to.
trackingId
An ID for tracking this client’s requests.
-
A collection of key-value pairs that should be included in the request.
Declaration
Swift
public let extras: [String : String]?
-
The server to send the request to.
Declaration
Swift
public let customEndpoint: URL?
-
An ID for tracking this client’s requests.
Declaration
Swift
public let trackingID: String?