[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/common/http/HttpParameterCodec [Back]  [Original]

HttpParameterCodec Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/common/http

HttpParameterCodec

interface
stable

A codec for encoding and decoding parameters in URLs.

Custom parameter encoding

On this page

    arrow_upward_alt Back to the top

    API

        
          interface HttpParameterCodec {  encodeKey(key: string): string;  encodeValue(value: string): string;  decodeKey(key: string): string;  decodeValue(value: string): string;}
        
        

    encodeKey

    string
    @paramkeystring
    @returnsstring

    encodeValue

    string
    @paramvaluestring
    @returnsstring

    decodeKey

    string
    @paramkeystring
    @returnsstring

    decodeValue

    string
    @paramvaluestring
    @returnsstring

    Description

    A codec for encoding and decoding parameters in URLs.

    Used by HttpParams.

    Jump to details

    Web Proxy Viewer  |  New URL  |  Original Page