Improve this Doc View Source

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

| Improve this Doc View Source

Bmp

Image type bmp

Declaration
Bmp = 9
| Improve this Doc View Source

Gif

Image type gif

Declaration
Gif = 6
| Improve this Doc View Source

Html

Used for Html

Declaration
Html = 3
| Improve this Doc View Source

Icon

Image type Icon (.ico)

Declaration
Icon = 11
| Improve this Doc View Source

Jpeg

Image type jpeg

Declaration
Jpeg = 7
| Improve this Doc View Source

Json

Used for Json

Declaration
Json = 0
| Improve this Doc View Source

Png

Image type png

Declaration
Png = 8
| Improve this Doc View Source

Rss

Rss feed (not Atom)

Declaration
Rss = 13
| Improve this Doc View Source

Svg

Image type SVG

Declaration
Svg = 12
| Improve this Doc View Source

Tiff

Image type tiff

Declaration
Tiff = 10
| Improve this Doc View Source

Txt

Used for Text

Declaration
Txt = 4
| Improve this Doc View Source

WwwFormUrlEncoded

Used for a www form which is url encoded

Declaration
WwwFormUrlEncoded = 5
| Improve this Doc View Source

Xml

Used for Xml

Declaration
Xml = 1
| Improve this Doc View Source

XmlReadable

Used for Xml

Declaration
XmlReadable = 2