• Gets the domain name for the current request location.

    Parameters

    • location: string

      The request location.

    • Optional prefs: boolean | IPreferences

      The user preferences for the current request.

    Returns string

    A domain name for use in statistics or logs.

    Remarks

    If the current user preferences request hiding domains, this will return a valid, but nonsensical domain name.

Generated using TypeDoc