Type Alias UrlOptions

UrlOptions: PartialWithUndefined<{
    encoding: UrlEncoding;
    searchParamStrategy: SearchParamStrategy;
}>

All options for parsing or building URLs.

Type declaration

  • encoding: UrlEncoding

    Whether to encode, decode, or pass url parts as they're given. Default behavior is to pass url parts as they are given.

  • searchParamStrategy: SearchParamStrategy

    Determines how to handle conflicts between base search param values and new search param values.