HttpTemplate.uploadFile

struct HttpTemplate
static if(hasMember!(Env, "CONTENT_TYPE"))
string
uploadFile
(
const(char)[] fileFormName
,,
string delegate
(
const(char)[] clientFilename
,)
onFilename
)

Return Value

Type: string

null on success, error message on error

Meta