A class that resolves routes based on the provided configuration. RouteResolver

Constructors

Methods

Constructors

Methods

  • Resolves a route based on the given HTTP method and path.

    Parameters

    • method: HttpMethod

      The HTTP method of the request.

    • path: string

      The path of the request.

    Returns undefined | AnyRoute

    • The resolved route or undefined if no route is found.