On this page

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.