UNPKG

rexuws

Version:

An express-like framework built on top of uWebsocket.js aims at simple codebase and high performance

6 lines (5 loc) 331 B
/// <reference types="node" /> import { IRequest, IResponse } from '../../../utils/types'; import { NextFunction } from '../../core/types'; export declare const parse: (ct: string, raw: Buffer) => Record<string, string> | string | Buffer; export declare const bodyParser: (req: IRequest, _: IResponse, next: NextFunction) => void;