UNPKG

@athenna/http

Version:

The Athenna Http server. Built on top of fastify.

15 lines (14 loc) 447 B
/** * @athenna/http * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import 'reflect-metadata'; import type { MiddlewareOptions } from '#src/types/middlewares/MiddlewareOptions'; /** * Create a middleware inside the service provider. */ export declare function Middleware(options?: MiddlewareOptions): ClassDecorator;