• Redirect the browser to a new URL, leaving the current URL in the back/forward browser-history.

    Parameters

    • url: string

      Absolute or relative URL to redirect to

    • Optional queryString: QueryStringObject

      Object with all keys to add to the querystring

    Returns void

    Example

    import { url } from "@hboictcloud/api";

    url.redirect("profile.html", {
    id: 15
    });

Generated using TypeDoc