Table of Contents

Class ContentType

Namespace
RestSharp.Serializers
Assembly
RestSharp.dll
public static class ContentType
Inheritance
ContentType
Inherited Members

Fields

Binary

public const string Binary = "application/octet-stream"

Field Value

string

FromDataFormat

public static readonly Dictionary<DataFormat, string> FromDataFormat

Field Value

Dictionary<DataFormat, string>

GZip

public const string GZip = "application/x-gzip"

Field Value

string

Json

public const string Json = "application/json"

Field Value

string

JsonAccept

public static readonly string[] JsonAccept

Field Value

string[]

Plain

public const string Plain = "text/plain"

Field Value

string

Xml

public const string Xml = "application/xml"

Field Value

string

XmlAccept

public static readonly string[] XmlAccept

Field Value

string[]