Class MimeMultipartDataFormatOptions

Assembly: redb.Route.DataFormats.Mime.dll

Options of . The limits hold wherever the body comes from (HTTP, a file, a queue),
not only behind a web server.

public sealed class MimeMultipartDataFormatOptions

Inheritance

Object→MimeMultipartDataFormatOptions

Properties

DefaultCharset

Encoding of form fields and headers that declare none. Default UTF-8, what browsers send from a UTF-8 page and

public Encoding DefaultCharset { get; set; }

MaxFileNameLength

Longest file name of a part, in characters. Default 255.

public int MaxFileNameLength { get; set; }

MaxPartBytes

Largest decoded part, in bytes. Default 10 MB.

public long MaxPartBytes { get; set; }

MaxParts

Most parts one body may have. Default 1000.

public int MaxParts { get; set; }

MaxTotalBytes

Largest body, in bytes as it arrives. Default 32 MB.

public long MaxTotalBytes { get; set; }

MultipartWithoutAttachment

Marshal with the mixed subtype writes a multipart even when the message has no attachments (Camel's

public bool MultipartWithoutAttachment { get; set; }

SubType

The subtype Marshal writes and the format registers under: form-data (the default: a

public string SubType { get; set; }