Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "SearchParameters"

Index

Variables

Const find

find: RegExp = /[!'\(\)~]|%20|%00/g

Const klass

klass: IStatic = SearchParameters

Const percentage

percentage: RegExp = /%(?![0-9A-Fa-f]{2})/g

Const plus

plus: RegExp = /\+/g

Const replace

replace: ReadonlyMap<string, string> = new Map<string, string>([['!', '%21'],[`'`, '%27'],['(', '%28'],[')', '%29'],['~', '%7E'],['%20', '+'],['%00', '\x00'],])

Functions

decode

  • decode(str: string): string

encode

  • encode(str: string): string

indexFirstOf

  • indexFirstOf(str: string, fromIndex: number, fallback: number, ...searchValues: Array<string>): number
  • Parameters

    • str: string
    • fromIndex: number
    • fallback: number
    • Rest ...searchValues: Array<string>

    Returns number

initialize

  • initialize(map: Map<string, Array<string>>, iterable: Iterable<[string, string | ReadonlyArray<string> | undefined]>): void
  • Parameters

    • map: Map<string, Array<string>>
    • iterable: Iterable<[string, string | ReadonlyArray<string> | undefined]>

    Returns void

query

  • query(str: string): IterableIterator<[string, string]>

replacer

  • replacer(match: string): string