Search
Preparing search index...
The search index is not available
Deco API Documentation - v1.0.7
Options
All
Public
Public/Protected
All
Inherited
Menu
Deco API Documentation - v1.0.7
MultipartMiddleware
Class MultipartMiddleware
Hierarchy
MultipartMiddleware
Index
Constructors
constructor
Properties
upload
Engine
Methods
files
InBody
files
Options
InRequest
parse
Deco
Constructors
constructor
new
Multipart
Middleware
(
)
:
MultipartMiddleware
Returns
MultipartMiddleware
Properties
Static
upload
Engine
upload
Engine
:
Multer
= ...
Methods
Static
files
InBody
files
InBody
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
Static
files
Options
InRequest
files
Options
InRequest
(
deco
:
Deco
, fileProperties
:
string
[]
)
:
(
req
:
MultipartRequest
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
=>
void
Parameters
deco:
Deco
fileProperties:
string
[]
Returns
(
req
:
MultipartRequest
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
=>
void
(
req
:
MultipartRequest
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
MultipartRequest
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
Static
parse
Deco
parse
Deco
(
deco
:
Deco
, storage
?:
"fs"
|
"gfs"
)
:
RequestHandler
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
[]
Parameters
deco:
Deco
storage:
"fs"
|
"gfs"
= 'fs'
Returns
RequestHandler
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
[]
Exports
Multipart
Middleware
constructor
upload
Engine
files
InBody
files
Options
InRequest
parse
Deco
Generated using
TypeDoc