# MultipartFileMiddleware Class

Module
import { MultipartFileMiddleware } from "@tsed/multipartfiles"
Source/packages/multipartfiles/src/middlewares/MultipartFileMiddleware.ts

# Overview

class MultipartFileMiddleware implements IMiddleware {
<span class="token keyword">constructor</span><span class="token punctuation">(</span>configuration<span class="token punctuation">:</span> <a href="/api/di/decorators/Configuration.html"><span class="token">Configuration</span></a><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token function">use</span><span class="token punctuation">(</span>endpoint<span class="token punctuation">:</span> <a href="/api/common/mvc/decorators/params/EndpointInfo.html"><span class="token">EndpointInfo</span></a><span class="token punctuation">,</span> request<span class="token punctuation">:</span> <a href="/api/common/mvc/decorators/params/Req.html"><span class="token">Req</span></a><span class="token punctuation">,</span> response<span class="token punctuation">:</span> <a href="/api/common/mvc/decorators/params/Res.html"><span class="token">Res</span></a><span class="token punctuation">)</span><span class="token punctuation">:</span> Promise&lt;<span class="token keyword">any</span>&gt;<span class="token punctuation">;</span>
<span class="token function">invoke</span><span class="token punctuation">(</span>conf<span class="token punctuation">:</span> <span class="token keyword">any</span><span class="token punctuation">)</span><span class="token punctuation">:</span> <span class="token keyword">any</span><span class="token punctuation">;</span>

}