HistorySecret

public struct HistorySecret
extension HistorySecret: Sendable

A HistorySecret encodes sufficient client state that it can be used to instantiate an ephemeral client.

  • Client id of the associated history client

    Declaration

    Swift

    public var clientId: ClientId
  • Opaque secret data sufficient to reconstruct a history client.

    Declaration

    Swift

    public var data: Data
  • Undocumented

    Declaration

    Swift

    public init(
        /**
         * Client id of the associated history client
         */clientId: ClientId, 
        /**
         * Opaque secret data sufficient to reconstruct a history client.
         */data: Data)