Home > @uniformdev/redirect

redirect package

Classes

<table><thead><tr><th>

Class

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

PathTrie

</td><td>

</td></tr> <tr><td>

PathTrieData

</td><td>

</td></tr> <tr><td>

RedirectClient

</td><td>

</td></tr> <tr><td>

UncachedRedirectClient

</td><td>

</td></tr> <tr><td>

WithMemoryCache

</td><td>

</td></tr> </tbody></table>

Functions

<table><thead><tr><th>

Function

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

ExtractWildcards(url)

</td><td>

</td></tr> <tr><td>

getSourceVariables(path, source, isVariable)

</td><td>

</td></tr> <tr><td>

getTargetVariableExpandedUrl(url, redirectDefinition, isVariable)

</td><td>

</td></tr> <tr><td>

mergeQueryStrings(qs1, qs2)

</td><td>

</td></tr> <tr><td>

processUrl(url)

</td><td>

Breaks a url into the separate parts for processing

</td></tr> <tr><td>

RedirectFileConverter({ client, redirectEntryObject, wildcardConverter, writeFile, })

</td><td>

</td></tr> </tbody></table>

Interfaces

<table><thead><tr><th>

Interface

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

pathTrieReturn

</td><td>

</td></tr> </tbody></table>

Type Aliases

<table><thead><tr><th>

Type Alias

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

DirectionAwareRedirectDefinition

</td><td>

</td></tr> <tr><td>

ProcessedUrl

</td><td>

{} protocol - The protocol of the URL

</td></tr> <tr><td>

RedirectClientGetRedirect

</td><td>

</td></tr> <tr><td>

RedirectClientGetRedirects

</td><td>

</td></tr> <tr><td>

RedirectClientGetRequest

</td><td>

</td></tr> <tr><td>

RedirectClientOptions

</td><td>

</td></tr> <tr><td>

RedirectDataCache

</td><td>

</td></tr> <tr><td>

RedirectDefinition

</td><td>

</td></tr> <tr><td>

RedirectDefinitions

</td><td>

</td></tr> <tr><td>

RedirectDeleteRequest

</td><td>

</td></tr> <tr><td>

RedirectDeleteResponse

</td><td>

</td></tr> <tr><td>

RedirectFileConverterParams

</td><td>

</td></tr> <tr><td>

RedirectGetRequest

</td><td>

</td></tr> <tr><td>

RedirectGetResponse

</td><td>

</td></tr> <tr><td>

RedirectOptions

</td><td>

</td></tr> <tr><td>

RedirectResult

</td><td>

</td></tr> <tr><td>

RedirectUpsertRequest

</td><td>

</td></tr> <tr><td>

RedirectUpsertResponse

</td><td>

</td></tr> <tr><td>

SourceAndTarget

</td><td>

</td></tr> <tr><td>

SourceTargetAndWildcards

</td><td>

</td></tr> <tr><td>

Wildcard

</td><td>

</td></tr> </tbody></table>