C# Class ImageLib.Http.AsyncHttpResponse

Inheritance: IDisposable
Exibir arquivo Open project: chenrensong/ImageLib.UWP

Public Methods

Method Description
Dispose ( ) : void
GetBuffer ( ) : Windows.Storage.Streams.IBuffer
GetBytes ( ) : byte[]
GetRandomStream ( ) : Task
GetString ( ) : string

Protected Methods

Method Description
Init ( HttpResponseMessage rsp ) : void

Private Methods

Method Description
AsyncHttpResponse ( Exception exp, string encoding ) : System
AsyncHttpResponse ( HttpResponseMessage rsp, string encoding ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetBuffer() public method

public GetBuffer ( ) : Windows.Storage.Streams.IBuffer
return Windows.Storage.Streams.IBuffer

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

GetRandomStream() public method

public GetRandomStream ( ) : Task
return Task

GetString() public method

public GetString ( ) : string
return string

Init() protected method

protected Init ( HttpResponseMessage rsp ) : void
rsp System.Net.Http.HttpResponseMessage
return void