Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueryParameters

A map of query parameter names to values.

Example:

const query_parameters = {
  name: 'value',
  'another-name': 'another-value',
  // Empty values are allowed
  name3: '',
  // Names without values are also allowed
  name4: null,
}

The resulting query string of the example will be name=value&another-name=another-value&name3=&name4.

Hierarchy

  • QueryParameters

Indexable

[name: string]: string

A map of query parameter names to values.

Example:

const query_parameters = {
  name: 'value',
  'another-name': 'another-value',
  // Empty values are allowed
  name3: '',
  // Names without values are also allowed
  name4: null,
}

The resulting query string of the example will be name=value&another-name=another-value&name3=&name4.

Generated using TypeDoc