Skip to main content
Version: Next

RequestTransform

Takes a RequestOptions object and changes its attributes in a desired way. This user-function is used by enqueueLinks to modify request options before they are converted to Request instances.

Callable



  • Parameters

    Returns undefined | null | false | RequestOptions<Dictionary> | skip | unchanged

    The modified request options to enqueue, 'unchanged' to keep the original options as-is, or a falsy value / 'skip' to exclude the request from the queue.