Class
MimeMap

The class that is used to store MIME-type-to-file-extension mapping.

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public class MimeMap

Inheritance: objectMimeMap

Inherited Members object.GetType()object.MemberwiseClone()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()

Constructors

MimeMap()

Declaration

cs-api-definition
public MimeMap()

Properties

FileExtension

Gets or sets the file extension for this mapping. The provided file extension should start with . (dot). E.g. .txt, .html, .png etc. This property should not be null, empty string or string containing only white spaces, in order Telerik FiddlerCore to load it.

Declaration

cs-api-definition
public string FileExtension { get; set; }

Property Value

string

MimeType

Gets or sets the MIME type for this mapping. The provided MIME type should be in the format "top-level type name / subtype name" and should not include the parameters section of the MIME type. E.g. application/json, text/html, image/gif etc. This property should not be null, empty string or string containing only white spaces, in order Telerik FiddlerCore to load it.

Declaration

cs-api-definition
public string MimeType { get; set; }

Property Value

string

Methods

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()