Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UriHelper

Index

Constructors

constructor

Methods

Static objectToUriParamsString

  • objectToUriParamsString(params: object, encodeParams?: boolean): string
  • Formats given Key-Value-Pairs to URI params string.
    E.g.:

    {
       param1: 1,
       param2: 2
    }
    // ==> '?param1=1&param2=2'
    

    Parameters

    • params: object

      Key-Value-Pair of Uri-Params

    • Optional encodeParams: boolean

    Returns string

Static parseUri

  • parseUri(str: string, strictMode?: boolean): any

Generated using TypeDoc