Opensearch dashboards.httpresourcesservicetoolkit
Home > opensearch-dashboards > HttpResourcesServiceToolkit
HttpResourcesServiceToolkit interface
Extended set of OpenSearchDashboardsResponseFactory helpers used to respond with HTML or JS resource.
Signature:
export interface HttpResourcesServiceToolkit
Properties
| Property | Type | Description |
|---|---|---|
| renderAnonymousCoreApp | (options?: HttpResourcesRenderOptions) => Promise<IOpenSearchDashboardsResponse> | To respond with HTML page bootstrapping OpenSearch Dashboards application without retrieving user-specific information. |
| renderCoreApp | (options?: HttpResourcesRenderOptions) => Promise<IOpenSearchDashboardsResponse> | To respond with HTML page bootstrapping OpenSearch Dashboards application. |
| renderHtml | (options: HttpResourcesResponseOptions) => IOpenSearchDashboardsResponse | To respond with a custom HTML page. |
| renderJs | (options: HttpResourcesResponseOptions) => IOpenSearchDashboardsResponse | To respond with a custom JS script file. |