formData

Helper to create form elements from ubyte[].

  1. auto formData(string name, File f, string[string] parameters)
  2. auto formData(string name, ubyte[] b, string[string] parameters)
    formData
    (
    string name
    ,
    ubyte[] b
    ,
    string[string] parameters = null
    )
  3. auto formData(string name, string b, string[string] parameters)

Parameters

name string

name of the field in form

b ubyte[]

data to send to server

parameters string[string]

optional parameters (can be "filename" and "Content-Type")

Meta