QueryOptions
public struct QueryOptions
Options related to the API request.
-
Creates a
QueryOptionsinstance.Declaration
Swift
public init ( extras: [String: String]? = nil, customEndpoint: URL? = nil, trackingId: String? = nil )Parameters
extrasA collection of key-value pairs that should be included in the request.
customEndpointThe server to send the request to.
trackingIdAn 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?
TomTom SDK for iOS (0.53.1)
QueryOptions