ClientDocument

A client document is used on both the server and client side and associates a client identifier with a Document.

<T> the type of this documents content.

  • Identifies a client or session to which this Document belongs.

    Declaration

    Swift

    public let clientId: String
  • Default init.

    Declaration

    Swift

    public init(id: String, clientId: String, content: T)

    Parameters

    id

    of the document.

    clientId

    or session to which this Document belongs.

    content

    of the document.

  • Printable protocol implementation, provides a string representation of the object.

    Declaration

    Swift

    public override var description: String