Logos DX
    Preparing search index...
    • Resolve policy configuration for a specific request.

      Uses memoization for rule matching (O(n) only once per method+path). Skip callbacks are always evaluated since they depend on request context.

      Parameters

      • method: string

        HTTP method (uppercase)

      • path: string

        Request path

      • ctx: RequestKeyOptions<S, H, P>

        Full request context for skip callback

      • OptionalskipCallback: (ctx: RequestKeyOptions<S, H, P>) => boolean | undefined

        Optional skip callback from config

      Returns TRule | null

      Resolved rule or null if disabled