Logos DX
    Preparing search index...

    Function computeProtected

    • Compute rule configuration for a method+path combination.

      This is the expensive O(n) operation that gets memoized. Finds matching rule and merges with policy defaults.

      Parameters

      • method: string

        HTTP method (uppercase)

      • path: string

        Request path

      Returns TRule | null

      Computed rule or null if disabled