IFClite TypeScript API
    Preparing search index...

    Function verifyWithReplayProtector

    • Adapter from a ReplayProtector to the server's VerifyMessageFn shape. Frames whose first byte is the SIGNED_TAG are parsed and verified; messages that aren't tagged are passed through (for clients that don't sign). To force-reject unsigned messages, set requireSigned: true.

      Parameters

      Returns (
          msg: Uint8Array,
      ) => { ok: boolean; payload?: Uint8Array<ArrayBufferLike>; reason?: string }