Api
public struct Api
Undocumented
-
Specify which XMTP network to connect to. Defaults to
.dev
Declaration
Swift
public var env: XMTPEnvironment
-
Specify whether the API client should use TLS security. In general this should only be false when using the
.local
environment.Declaration
Swift
public var isSecure: Bool
-
Undocumented
Declaration
Swift
public var appVersion: String?
-
Undocumented
Declaration
Swift
public init( env: XMTPEnvironment = .dev, isSecure: Bool = true, appVersion: String? = nil )