Page Contents

Home > @loopback/rest > FindRoute

FindRoute type

Find a route matching the incoming request. Throw an error when no route was found.

Signature:

export type FindRoute = (request: Request) => ResolvedRoute;

References: ResolvedRoute