path-rewriter.d.ts 283 B

1234567
  1. /**
  2. * Create rewrite function, to cache parsed rewrite rules.
  3. *
  4. * @param {Object} rewriteConfig
  5. * @return {Function} Function to rewrite paths; This function should accept `path` (request.url) as parameter
  6. */
  7. export declare function createPathRewriter(rewriteConfig: any): any;