Page Contents

Home > @loopback/rest > RestRouter > find

RestRouter.find() method

Find a matching route for the given http request

Signature:

find(request: Request): ResolvedRoute | undefined;

Parameters

Parameter Type Description
request Request Http request

Returns:

ResolvedRoute | undefined

The resolved route, if not found, undefined is returned