HttpUrlEncodingCodec
class
A HttpParameterCodec that uses encodeURIComponent and decodeURIComponent to serialize and parse URL parameter keys and values.
class HttpUrlEncodingCodec implements HttpParameterCodec {
encodeKey(key: string): string
encodeValue(value: string): string
decodeKey(key: string): string
decodeValue(value: string)
} Methods
| encodeKey() | ||
|---|---|---|
|
| key | Type: |
Returns
string
| encodeValue() | ||
|---|---|---|
|
| value | Type: |
Returns
string
| decodeKey() | ||
|---|---|---|
|
| key | Type: |
Returns
string
| decodeValue() | ||
|---|---|---|
|
| value | Type: |
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/common/http/HttpUrlEncodingCodec