@bearnjs/rest
    Preparing search index...

    Function Custom

    • Decorator factory for custom HTTP methods.

      Parameters

      • method: HttpMethod

        The HTTP method to create a decorator for.

      Returns (options?: RouteOptions) => MethodDecorator

      The decorator for the custom HTTP method.