IModelHostOptions Interface

Options for IModelHost.startup

Implemented by


Name Type Description
appAssetsDir undefined | string The directory where application assets are found.  
authorizationClient undefined | AuthorizationClient The AuthorizationClient used to get accessTokens Beta  
cacheDir undefined | string Root of the directory holding all the files that iTwin.js caches  
compressCachedTiles undefined | boolean Whether to compress cached tiles.  
crashReportingConfig undefined | Crash-reporting configuration  
enableOpenTelemetry undefined | boolean Whether to enable OpenTelemetry tracing Beta  
hubAccess undefined | BackendHubAccess The kind of iModel hub server to use. Beta  
restrictTileUrlsByClientIp undefined | boolean Whether to restrict tile cache URLs by client IP address (if available). Beta  
tileCacheAzureCredentials undefined | AzureBlobStorageCredentials The Azure blob storage credentials to use for the tile cache service. Beta  
tileCacheService undefined | CloudStorageService    
workspace undefined | WorkspaceOpts Options for creating the Workspace Beta  

Defined in

Last Updated: 19 August, 2022