Enum MediaTypes
Use this enum for the creating the accept header or checking the content-type
Namespace: Dapplo.HttpExtensions.Support
Assembly: Dapplo.HttpExtensions.dll
Syntax
public enum MediaTypes
Fields
| Name | Description |
|---|---|
| Bmp | Image type bmp |
| Gif | Image type gif |
| Html | Used for Html |
| Icon | Image type Icon (.ico) |
| Jpeg | Image type jpeg |
| Json | Used for Json |
| Png | Image type png |
| Rss | Rss feed (not Atom) |
| Svg | Image type SVG |
| Tiff | Image type tiff |
| Txt | Used for Text |
| TxtJson | Used for json |
| WwwFormUrlEncoded | Used for a www form which is url encoded |
| Xml | Used for Xml |
| XmlReadable | Used for Xml |