PlatformMulterMiddleware
@tsed/platform-http
Usage
typescript
import { PlatformMulterMiddleware } from "@tsed/platform-http";
See /packages/platform/platform-http/src/types/common/middlewares/PlatformMulterMiddleware.ts.
Overview
ts
class PlatformMulterMiddleware implements MiddlewareMethods {
protected app: PlatformApplication<any>;
use(ctx: PlatformContext): Promise<any>;
protected getFields(conf: MulterInputOptions): {
name: string;
maxCount: number | undefined;
}[];
}
protected app
ts
protected app: PlatformApplication<any>;
use
ts
use(ctx: PlatformContext): Promise<any>;
protected getFields
ts
protected getFields(conf: MulterInputOptions): {
name: string;
maxCount: number | undefined;
}[];