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