ProxySettings
public struct ProxySettings : Hashable
Proxy configuration for the HERE SDK network that is applied per request. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Represents the type of the proxy server.
Declaration
Swift
public var type: ProxySettings.ProxyType -
Represents the IP Address of the proxy server.
Declaration
Swift
public var ipAddress: IPAddress -
Represents the port number of the proxy server.
Declaration
Swift
public var port: UInt16 -
Optional field to define credentials to authenticate a user to the proxy server.
Declaration
Swift
public var credentials: ProxySettings.Credentials? -
Creates a new instance.
Declaration
Swift
public init(type: ProxySettings.ProxyType, ipAddress: IPAddress, port: UInt16, credentials: ProxySettings.Credentials? = nil) -
Supported types of proxy connection.
See moreDeclaration
Swift
public enum ProxyType : UInt32, CaseIterable, Codable -
Authentication data
See moreDeclaration
Swift
public struct Credentials : Hashable -
Compare objects
- Return true if objects are equal, false otherwise.
Declaration
Swift
static func == (lhs: ProxySettings, rhs: ProxySettings) -> BoolParameters
lhsFirst object to compare
rhsSecond object to compare
-
Hashes object
Declaration
Swift
func hash(into hasher: inout Hasher)Parameters
hasherThe hasher