C# Class JSIStudios.SimpleRESTServices.Client.Json.JsonRequestSettings

Inheritance: RequestSettings
Exibir arquivo Open project: JSIStudios/SimpleRestServices Class Usage Examples

Public Properties

Property Type Description
JsonContentType string

Public Methods

Method Description
JsonRequestSettings ( )

Initializes a new instance of the JsonRequestSettings class with the default value application/json for RequestSettings.ContentType and RequestSettings.Accept.

Method Details

JsonRequestSettings() public method

Initializes a new instance of the JsonRequestSettings class with the default value application/json for RequestSettings.ContentType and RequestSettings.Accept.
public JsonRequestSettings ( )

Property Details

JsonContentType public_oe static_oe property

The content type (MIME type) for a JSON request or response.
This value is equal to application/json.
public static string JsonContentType
return string