• Overview
@angular/common/http

HttpUrlEncodingCodec

Class

Provides encoding and decoding of URL parameter and query-string values.

  
    class HttpUrlEncodingCodec implements HttpParameterCodec {}
  
  

encodeKey

string

Encodes a key name for a URL parameter or query-string.

@paramkeystring

The key name.

@returnsstring

encodeValue

string

Encodes the value of a URL parameter or query-string.

@paramvaluestring

The value.

@returnsstring

decodeKey

string

Decodes an encoded URL parameter or query-string key.

@paramkeystring

The encoded key name.

@returnsstring

decodeValue

string

Decodes an encoded URL parameter or query-string value.

@paramvaluestring

The encoded value.

@returnsstring
Jump to details