interface
A codec for encoding and decoding parameters in URLs.
interface HttpParameterCodec {
encodeKey(key: string): string
encodeValue(value: string): string
decodeKey(key: string): string
decodeValue(value: string): string
} Used by HttpParams.
| encodeKey() | |||
|---|---|---|---|
|
key | string |
string
| encodeValue() | |||
|---|---|---|---|
|
value | string |
string
| decodeKey() | |||
|---|---|---|---|
|
key | string |
string
| decodeValue() | |||
|---|---|---|---|
|
value | string |
string
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/common/http/HttpParameterCodec