[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/core](../../README) / [http](../README) / UriQueryString

# Interface: UriQueryString

Defined in: [http/Uri.ts:43](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/http/Uri.ts#L43)

Read-only view over a URI's query string, returned by `Uri.query()`.

## Methods

### all()

> **all**(): `Record`\<`string`, `QueryValue`\>

Defined in: [http/Uri.ts:45](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/http/Uri.ts#L45)

All query parameters as a plain object.

#### Returns

`Record`\<`string`, `QueryValue`\>

***

### get()

> **get**(`key`): `string` \| `undefined`

Defined in: [http/Uri.ts:47](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/http/Uri.ts#L47)

The first value for a key (or undefined).

#### Parameters

##### key

`string`

#### Returns

`string` \| `undefined`

***

### getAll()

> **getAll**(`key`): `string`[]

Defined in: [http/Uri.ts:49](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/http/Uri.ts#L49)

Every value for a key as an array.

#### Parameters

##### key

`string`

#### Returns

`string`[]

***

### has()

> **has**(`key`): `boolean`

Defined in: [http/Uri.ts:51](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/http/Uri.ts#L51)

Whether a key is present.

#### Parameters

##### key

`string`

#### Returns

`boolean`

***

### toString()

> **toString**(): `string`

Defined in: [http/Uri.ts:53](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/http/Uri.ts#L53)

The encoded query string (without the leading `?`).

#### Returns

`string`
