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