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.

22 lines (19 loc) 662 B
import { ServerResponse } from 'http'; import { HttpKernel } from '@deepkit/http'; import { S as ServerlessRequest } from '../../request-DI51fiy-.js'; import { F as FrameworkContract } from '../../framework.contract-td-lRvq6.js'; import 'node:http'; import '../../headers-DjfGHDmI.js'; /** * The framework that forwards requests to express handler * * @breadcrumb Frameworks / HttpDeepkitFramework * @public */ declare class HttpDeepkitFramework implements FrameworkContract<HttpKernel> { /** * {@inheritDoc} */ sendRequest(app: HttpKernel, request: ServerlessRequest, response: ServerResponse): void; } export { HttpDeepkitFramework };