QueryOptions
public struct QueryOptions
Options related to the API request.
The server to send the request to.
Declaration
Swift
public let customEndpoint: URL?
A collection of key-value pairs that should be included in the request.
Declaration
Swift
public let extras: [String : String]?
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. |
An ID for tracking this client’s requests.
Declaration
Swift
public let trackingID: String?