mergeHttpParams()
ts
function mergeHttpParams(...params): HttpParams;Defined in: common/merge.common.ts:61
Merge HTTP params from different sources
Given HTTP params will be merged in sequential order. If you provide HTTP params A & B, the output would be A' & B.
Parameters
| Parameter | Type | Description |
|---|---|---|
...params | HttpParamsOption[] | Different HTTP params |
Returns
HttpParams
Merged HTTP params as instance
Remarks
This function will take care of the data structure. You can provide either the HTTP params instance or a record. The result will be deterministic.
Since
1.0.0
Author
Simon Kovtyk