docs: add details to HttpUrlEncodingCodec API description (#28507)

PR Close #28507
This commit is contained in:
Vani 2019-02-03 17:39:28 -08:00 committed by Miško Hevery
parent 2b836c81a2
commit 416b0d29b9
1 changed files with 8 additions and 5 deletions

View File

@ -23,7 +23,10 @@ export interface HttpParameterCodec {
/** /**
* A `HttpParameterCodec` that uses `encodeURIComponent` and `decodeURIComponent` to * A `HttpParameterCodec` that uses `encodeURIComponent` and `decodeURIComponent` to
* serialize and parse URL parameter keys and values. * serialize and parse URL parameter keys and values. If URL query parameters are
* passed without encoding, they might be misinterpreted at the receiving end. Use the
* `HttpParameterCodec` to encode the query-string values. The same class can be used to decode the
* encoded query-string values.
* *
* @publicApi * @publicApi
*/ */