Reference / @getenginex/sdk / FormDataFieldSummary
FormDataFieldSummary
A field of a multipart body, summarized for RequestHookContext.body: never the value of a text field, nor the original name or content of a file.
Properties
name
name:
string
Field name, e.g. file. The file's original name never appears (it may identify the player); it only goes to the gateway, in the multipart itself.
size?
optionalsize?:number
File size, in bytes. Absent on text fields.
type?
optionaltype?:string
MIME type of the file, e.g. image/png. Absent on text fields and on files without a type.