C# Class XPHttp.HttpContent.HttpJsonContent

Inheritance: IHttpContent
Show file Open project: brookshi/XPHttp

Public Methods

Method Description
BufferAllAsync ( ) : ulong>.IAsyncOperationWithProgress
Dispose ( ) : void
HttpJsonContent ( IJsonValue jsonData ) : System
HttpJsonContent ( object jsonData ) : System
HttpJsonContent ( object jsonData, ISerializer serializer ) : System
HttpJsonContent ( string jsonValue ) : System
ReadAsBufferAsync ( ) : ulong>.IAsyncOperationWithProgress
ReadAsInputStreamAsync ( ) : ulong>.IAsyncOperationWithProgress
ReadAsStringAsync ( ) : ulong>.IAsyncOperationWithProgress
TryComputeLength ( ulong &length ) : bool
WriteToStreamAsync ( IOutputStream outputStream ) : ulong>.IAsyncOperationWithProgress

Private Methods

Method Description
InitBufferInfo ( ) : void
InitData ( string jsonValue ) : void
InitStreamInfo ( ) : void

Method Details

BufferAllAsync() public method

public BufferAllAsync ( ) : ulong>.IAsyncOperationWithProgress
return ulong>.IAsyncOperationWithProgress

Dispose() public method

public Dispose ( ) : void
return void

HttpJsonContent() public method

public HttpJsonContent ( IJsonValue jsonData ) : System
jsonData IJsonValue
return System

HttpJsonContent() public method

public HttpJsonContent ( object jsonData ) : System
jsonData object
return System

HttpJsonContent() public method

public HttpJsonContent ( object jsonData, ISerializer serializer ) : System
jsonData object
serializer ISerializer
return System

HttpJsonContent() public method

public HttpJsonContent ( string jsonValue ) : System
jsonValue string
return System

ReadAsBufferAsync() public method

public ReadAsBufferAsync ( ) : ulong>.IAsyncOperationWithProgress
return ulong>.IAsyncOperationWithProgress

ReadAsInputStreamAsync() public method

public ReadAsInputStreamAsync ( ) : ulong>.IAsyncOperationWithProgress
return ulong>.IAsyncOperationWithProgress

ReadAsStringAsync() public method

public ReadAsStringAsync ( ) : ulong>.IAsyncOperationWithProgress
return ulong>.IAsyncOperationWithProgress

TryComputeLength() public method

public TryComputeLength ( ulong &length ) : bool
length ulong
return bool

WriteToStreamAsync() public method

public WriteToStreamAsync ( IOutputStream outputStream ) : ulong>.IAsyncOperationWithProgress
outputStream IOutputStream
return ulong>.IAsyncOperationWithProgress