@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) • 665 B
text/typescript
import { ServerResponse } from 'http';
import { HttpKernel } from '@deepkit/http';
import { S as ServerlessRequest } from '../../request-DsBcr1WD.cjs';
import { F as FrameworkContract } from '../../framework.contract-td-lRvq6.cjs';
import 'node:http';
import '../../headers-DjfGHDmI.cjs';
/**
* 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 };