UNPKG

@h4ad/serverless-adapter

Version:

Run REST APIs and other web applications using your existing Node.js application framework (NestJS, Express, Koa, Hapi, Fastify and many others), on top of AWS, Azure, Digital Ocean and many other clouds.

19 lines (16 loc) 550 B
import { IncomingMessage, ServerResponse } from 'http'; import { FastifyInstance } from 'fastify'; import { F as FrameworkContract } from '../../framework.contract-td-lRvq6.js'; /** * The framework that forwards requests to fastify handler * * @breadcrumb Frameworks / FastifyFramework * @public */ declare class FastifyFramework implements FrameworkContract<FastifyInstance> { /** * {@inheritDoc} */ sendRequest(app: FastifyInstance, request: IncomingMessage, response: ServerResponse): void; } export { FastifyFramework };