pdfrx_web
    Preparing search index...

    Function parseServerRelayMessage

    • Parses and validates one untrusted relay payload before changing client state.

      Parameters

      • json: string

        The JSON value to parse.

      Returns ServerRelayMessage

      The resulting ServerRelayMessage.

      Error for malformed JSON, snapshots, commits, or errors.