Skip to content

Opensearch dashboards.onpreroutingtoolkit

Home > opensearch-dashboards > OnPreRoutingToolkit

OnPreRoutingToolkit interface

A tool set defining an outcome of OnPreRouting interceptor for incoming request.

Signature:

export interface OnPreRoutingToolkit 

Properties

Property Type Description
next () => OnPreRoutingResult To pass request to the next handler
rewriteUrl (url: string) => OnPreRoutingResult Rewrite requested resources url before is was authenticated and routed to a handler