Skip to content

TMimeItem

Represents a MIME multipart item

Declaration

Source position: httpdefs.pp line 278

type

  TMimeItem = class(TCollectionItem)
  public
    procedure ProcessStreaming;
    procedure Process;
    property RawData: TBytes; {rw}
    property Data: string; {rw}
    property Name: string; {rw}
    property Disposition: string; {rw}
    property FileName: string; {rw}
    property ContentType: string; {rw}
    property Description: string; {rw}
    property IsFile: Boolean; {r}
    property DataSize: Int64; {r}
  end;

Description

TMimeItem represents a single part within a MIME multipart message. It encapsulates the content, headers, and metadata for one item in a multipart HTTP request.

Properties

Member Visibility Description
ContentType public Content type of the MIME item
Data public Processed MIME item data
DataSize read only public Size of the MIME item data in bytes
Description public Description of the MIME item
Disposition public Content disposition of the MIME item
FileName public Filename attribute of the MIME item
IsFile read only public Indicates whether the MIME item is a file
Name public Name attribute of the MIME item
RawData public Raw unprocessed MIME item data
See all Properties

Methods

Member Visibility Description
Process public Processes MIME data from a stream
ProcessStreaming public Processes streamed MIME data
See all Methods