micri
Version:
Asynchronous HTTP microservices
9 lines (8 loc) • 369 B
TypeScript
/// <reference types="node" />
import { IncomingMessage, ServerResponse, IncomingHttpHeaders, Server } from 'http';
export declare type MicriHandler = (req: IncomingMessage, res: ServerResponse) => any;
export { IncomingMessage, ServerResponse, IncomingHttpHeaders, Server };
export interface IncomingOpts {
limit?: string | number;
encoding?: string | null;
}