Page Contents

Home > @loopback/rest > RestRouter

RestRouter interface

Signature:

export interface RestRouter 

Methods

Method Description
[add(route)](/doc/en/lb4/apidocs.rest.restrouter.add.html) Add a route to the router
[find(request)](/doc/en/lb4/apidocs.rest.restrouter.find.html) Find a matching route for the given http request
[list()](/doc/en/lb4/apidocs.rest.restrouter.list.html) List all routes