On this page

Shortens absolute or verbose request strings so diagnostics and stats output can be rendered relative to a chosen base directory.

new RequestShortener(): RequestShortener
Attributes
contextify:(value: string) => string
shorten(request?): string | null | undefined
Attributes
request:string | null
Returns:string | null | undefined

Returns a request string rewritten relative to the configured directory when one is provided.