Class RedirectResponseFactory

Response factory that sends an HTTP redirect to the given destination.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

destination: string

THe URL where the client should redirect to.

targetStatus: HTTPStatus = HTTPStatus.MOVED_TEMPORARILY

The status that should be set on the response.

Methods