pdfrx_web
    Preparing search index...

    Class PageCollaborationClient

    Browser-side client for the reference strict-revision relay protocol.

    Page, annotation, and form operations have independent queues and revision streams. Each stream sends one local operation at a time and resolves its promise only after the relay broadcasts the authoritative commit.

    Index
    actorId: string

    Stable participant id attached to every submitted operation.

    createOperationId: () => string = ...

    Generates operation correlation ids; injectable for deterministic tests.

    createSocket: CollaborationWebSocketFactory = ...

    Creates the transport socket; defaults to the browser WebSocket.

    • Approves one pending participant using the current admitted connection.

      Parameters

      • requestId: string

        The join request identifier.

      Returns void

    • Rejects one pending participant using the current admitted connection.

      Parameters

      • requestId: string

        The join request identifier.

      Returns void