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) 514 B
import { IncomingMessage, ServerResponse } from 'http'; import Application from 'koa'; import { F as FrameworkContract } from '../../framework.contract-td-lRvq6.js'; /** * The framework that forwards requests to koa handler * * @breadcrumb Frameworks / KoaFramework * @public */ declare class KoaFramework implements FrameworkContract<Application> { /** * {@inheritDoc} */ sendRequest(app: Application, request: IncomingMessage, response: ServerResponse): void; } export { KoaFramework };