@creator.co/wapi - v1.8.1
    Preparing search index...

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

    Index

    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.