Class: MultipartForm

vertx-web-common-js/multipart_form~ MultipartForm

new MultipartForm()

A multipart form.
Source:

Methods

attribute(name, value) → {MultipartForm}

Add an attribute form data part.
Parameters:
Name Type Description
name string the name of the attribute
value string the value of the attribute
Source:
Returns:
a reference to this, so the API can be used fluently
Type
MultipartForm

binaryFileUpload(name, filename, pathname, mediaType) → {MultipartForm}

Add a binary file upload form data part.
Parameters:
Name Type Description
name string name of the parameter
filename string filename of the file
pathname string the pathname of the file
mediaType string the MIME type of the file
Source:
Returns:
a reference to this, so the API can be used fluently
Type
MultipartForm

textFileUpload(name, filename, pathname, mediaType) → {MultipartForm}

Add a text file upload form data part.
Parameters:
Name Type Description
name string name of the parameter
filename string filename of the file
pathname string the pathname of the file
mediaType string the MIME type of the file
Source:
Returns:
a reference to this, so the API can be used fluently
Type
MultipartForm