addHeader Function

Beta  

This function when used on IModelClient adds specified header to every request.

addHeader(name: string, valueFactory: () => string): HttpRequestOptionsTransformer

Parameter Type Description
name string  
valueFactory () => string  

Returns - HttpRequestOptionsTransformer

Defined in

Last Updated: 11 June, 2024