• Overview
@angular/common/http

HttpParamsOptions

interface

Options used to construct an HttpParams instance.

  
    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