Visitar URL original
HttpParamsOptions • Angular
The Wayback Machine - https://web.archive.org/web/20250328102653/https://angular.dev/api/common/http/HttpParamsOptions
    • Overview
@angular/common/http

HttpParamsOptions

interface

Options used to construct an HttpParams instance.

API

  
    interface HttpParamsOptions {}
  
  

fromString

string | undefined

String representation of the HTTP parameters in URL-query-string format. Mutually exclusive with fromObject.

fromObject

{ [param: string]: string | number | boolean | readonly (string | number | boolean)[]; } | undefined

Object map of the HTTP parameters. Mutually exclusive with fromString.

encoder

HttpParameterCodec | undefined

Encoding codec used to parse and serialize the parameters.

Jump to details