Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Function noteOriginProtocol

    • Record the protocol an origin's responses arrived over.

      h2 / h3 (and their drafts) widen that origin's data lane; anything else reported narrows it back. An EMPTY protocol — what resource timing reports for a cross-origin response without Timing-Allow-Origin — is "cannot tell" and changes nothing, so such a host stays on the safe default.

      Parameters

      • origin: string
      • protocol: string | undefined

      Returns void