Skip to main content
Version: Next

RootHttpRouterService.use()

Home > @backstage/backend-plugin-api > RootHttpRouterService > use

Registers a handler at the root of the backend router. The path is required and may not be empty.

Signature:

use(path: string, handler: Handler): void;

Parameters

Parameter

Type

Description

path

string

handler

Handler

**Returns:**

void