C# Class Jackett.Utils.JsonContent

Inheritance: System.Net.Http.HttpContent
Mostrar archivo Open project: WarlaxZ/Jackett

Public Methods

Method Description
JsonContent ( object value ) : Newtonsoft.Json

Protected Methods

Method Description
SerializeToStreamAsync ( Stream stream, System.Net.TransportContext context ) : System.Threading.Tasks.Task
TryComputeLength ( long &length ) : bool

Method Details

JsonContent() public method

public JsonContent ( object value ) : Newtonsoft.Json
value object
return Newtonsoft.Json

SerializeToStreamAsync() protected method

protected SerializeToStreamAsync ( Stream stream, System.Net.TransportContext context ) : System.Threading.Tasks.Task
stream Stream
context System.Net.TransportContext
return System.Threading.Tasks.Task

TryComputeLength() protected method

protected TryComputeLength ( long &length ) : bool
length long
return bool