FrakEnvironment
Ce contenu n’est pas encore disponible dans votre langue.
enum FrakEnvironmentConforms to Swift.Equatable, Swift.Hashable, Swift.Sendable
Defined in: Sources/FrakSDK/Core/FrakEnvironment.swift:4
FrakEnvironment.custom(wallet:backend:walletScheme:)
Section titled “FrakEnvironment.custom(wallet:backend:walletScheme:)”case custom(wallet: String, backend: String, walletScheme: String)FrakEnvironment.development
Section titled “FrakEnvironment.development”case developmentFrakEnvironment.production
Section titled “FrakEnvironment.production”case productionProperties
Section titled “Properties”backend
Section titled “backend”var backend: String { get }wallet
Section titled “wallet”var wallet: String { get }walletScheme
Section titled “walletScheme”var walletScheme: String { get }Type methods
Section titled “Type methods”custom(wallet:backend:)
Section titled “custom(wallet:backend:)”static func custom(wallet: String, backend: String) -> FrakEnvironmentLocal backend serves self-signed HTTPS; needs an ATS exception on device. walletScheme
defaults to Frak’s own dev wallet, which is almost never right for a merchant’s stub
server: use custom(wallet:backend:walletScheme:) to override it.
Operators
Section titled “Operators”!=(::)
static func != (lhs: Self, rhs: Self) -> BoolReturns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.