Home > doofinder > StatsClient > registerRedirection

StatsClient.registerRedirection() method

Register a redirection occurred during the current session.

Signature:

registerRedirection(params: RedirectionStatsParams): Promise<Response>;

Parameters

Parameter Type Description
params RedirectionStatsParams An options object. See RedirectionStatsParams.

Returns:

Promise<Response>

A promise to be fullfilled with the response or rejected with a ClientResponseError.