0.1.1 • Published 7 years ago

justows.plugin.http.multipart v0.1.1

Weekly downloads
6
License
-
Repository
bitbucket
Last release
7 years ago

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")()
  ]

  ...
}
0.1.1

7 years ago

0.1.0

7 years ago