Function that modifies URLs before loading requests are sent.
This callback allows intercepting and modifying URLs to implement custom loading
behavior, such as adding authentication tokens or redirecting to different servers.
Type declaration
(url:string):string
Parameters
url: string
The original URL.
Returns string
The modified URL or the original URL if no changes are needed.
Function that modifies URLs before loading requests are sent.
This callback allows intercepting and modifying URLs to implement custom loading behavior, such as adding authentication tokens or redirecting to different servers.