justows.plugin.http.multipart
v0.1.1
Published
Plugin for processing multipart/form-data.
Downloads
1
Readme
justows.plugin.http.multipart
Plugin for processing multipart/form-data.
Developed in Dogma, compiled to JavaScript.
Engineered in Valencia, Spain, EU by Justo WebServices.
Description
This plugin provides pre and post actions for processing multipart/form-data.
Use
The plugin returns a function which returns the plugin metadata:
function plugin(opts:object) : object
opts
:encoding
(string). Encoding for the incoming files. Default:utf8
.field
(string). Request field name where to save the uploads. Default:uploads
.
Example:
http: {
plugins: [
require("justows.plugin.http.multipart")()
]
...
}