Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TMimeItem

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Represents a MIME multipart item

Declaration

Source position: httpdefs.pp line 267

type TMimeItem = class(TCollectionItem)

public

  procedure ProcessStreaming(); virtual; abstract;

  

Processes streamed MIME data

  procedure Process(); virtual; abstract;

  

Processes MIME data from a stream

  property RawData: TBytes; [rw]

  

Raw unprocessed MIME item data

  property Data: string; [rw]

  

Processed MIME item data

  property Name: string; [rw]

  

Name attribute of the MIME item

  property Disposition: string; [rw]

  

Content disposition of the MIME item

  property FileName: string; [rw]

  

Filename attribute of the MIME item

  property ContentType: string; [rw]

  

Content type of the MIME item

  property Description: string; [rw]

  

Description of the MIME item

  property IsFile: Boolean; [r]

  

Indicates whether the MIME item is a file

  property DataSize: Int64; [r]

  

Size of the MIME item data in bytes

end;

Inheritance

TMimeItem

  

Represents a MIME multipart item

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

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.


Documentation generated on: Jan 16 2026