Config
public struct Config
Used in convenience initializer in the NimiqClient class.
-
Protocol squeme,
"http"or"https".Declaration
Swift
public let scheme: String -
Authorized user.
Declaration
Swift
public let user: String -
Password for the authorized user.
Declaration
Swift
public let password: String -
Host IP address.
Declaration
Swift
public let host: String -
Host port.
Declaration
Swift
public let port: Int -
Config initialization.
Declaration
Swift
public init(scheme: String = "http", user: String = "", password: String = "", host: String = "127.0.0.1", port: Int = 8648)Parameters
schemeProtocol squeme,
"http"or"https".userAuthorized user.
passwordPassword for the authorized user.
hostHost IP address.
portHost port.
Config Structure Reference