Skip to main content


updates the initial URL and parameters that were specified when initializing proxy

updateUrl?: (url?: string, params?: object) => void;


  • url: string - optional, a new URL. If not specified, the currently existing URL will be used.
  • params: object - optional, a configuration object with new parameters. If not specified, clears parameters set earlier.


proxy.updateUrl("", { a: "customParam", b: 2 });
// url: