API Reference > imodelhub-client > iModelHubClient > addHeader 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 clients/imodelhub/src/imodelhub/BaseHandler.ts Line 40 Last Updated: 12 June, 2024