linkHttpUrlEncodingCodec
npm Package | @angular/common |
---|---|
Module | import { HttpUrlEncodingCodec } from '@angular/common/http'; |
Source | common/http/src/params.ts |
linkOverview
class HttpUrlEncodingCodec implements HttpParameterCodec {
encodeKey(k: string): string
encodeValue(v: string): string
decodeKey(k: string): string
decodeValue(v: string)
}
linkDescription
A HttpParameterCodec
that uses encodeURIComponent
and decodeURIComponent
to
serialize and parse URL parameter keys and values.