Multipart.appendFormFile

Adds a new MIME part containing body to multipart

Uses "Content-Disposition: form-data", as per the HTML forms specification.

class Multipart
void
appendFormFile

Parameters

controlName string

the name of the control associated with this file

filename string

the name of the file, or null if not known

contentType string

the MIME type of the file, or null if not known

body_ glib.bytes.Bytes

the file data