LightWalletEndpoint

public struct LightWalletEndpoint

Represents a lightwallet instance endpoint to connect to

  • Undocumented

    Declaration

    Swift

    public var host: String
  • Undocumented

    Declaration

    Swift

    public var port: Int
  • Undocumented

    Declaration

    Swift

    public var secure: Bool
  • Undocumented

    Declaration

    Swift

    public var singleCallTimeoutInMillis: Int64
  • Undocumented

    Declaration

    Swift

    public var streamingCallTimeoutInMillis: Int64
  • initializes a LightWalletEndpoint

    Declaration

    Swift

    public init(
        address: String,
        port: Int,
        secure: Bool = true,
        singleCallTimeoutInMillis: Int64 = 10000,
        streamingCallTimeoutInMillis: Int64 = 100000
    )

    Parameters

    address

    a String containing the host address

    port

    string with the port of the host address

    secure

    true if connecting through TLS. Default value is true

    singleCallTimeoutInMillis

    timeout for single calls in Milliseconds

    streamingCallTimeoutInMillis

    timeout for streaming calls in Milliseconds