Describes the type of the Rule.action.redirect.transform property.

interface URLTransform {
    fragment?: string;
    host?: string;
    password?: string;
    path?: string;
    port?: string;
    query?: string;
    queryTransform?: _URLTransformQueryTransform;
    scheme?: _URLTransformScheme;
    username?: string;
}
Index
fragment?: string

The new fragment for the request. Should be either empty, in which case the existing fragment is cleared; or should begin with '#'.

host?: string

The new host name for the request.

password?: string

The new password for the request.

path?: string

The new path for the request. If empty, the existing path is cleared.

port?: string

The new port for the request. If empty, the existing port is cleared.

query?: string

The new query for the request. Should be either empty, in which case the existing query is cleared; or should begin with '?'. Cannot be specified if 'queryTransform' is specified.

Add, remove or replace query key-value pairs. Cannot be specified if 'query' is specified.

The new scheme for the request.

username?: string

The new username for the request.