Options used to construct an HttpParams instance.
API
interface HttpParamsOptions {
fromString?: string | undefined;
fromObject?: { [param: string]: string | number | boolean | readonly (string | number | boolean)[]; } | undefined;
encoder?: HttpParameterCodec | undefined;
}
fromString
string | undefinedString representation of the HTTP parameters in URL-query-string format. Mutually exclusive with fromObject.
fromObject
{ [param: string]: string | number | boolean | readonly (string | number | boolean)[]; } | undefinedObject map of the HTTP parameters. Mutually exclusive with fromString.
encoder
HttpParameterCodec | undefinedEncoding codec used to parse and serialize the parameters.