C# Class Microsoft.HockeyApp.Services.HttpService

Inheritance: IHttpService
显示文件 Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
CreateCompressedStream ( Stream stream ) : Stream
GetContentEncoding ( ) : string
PostAsync ( Uri address, byte content, string contentType, string contentEncoding, System.TimeSpan timeout = default(TimeSpan) ) : System.Threading.Tasks.Task

Private Methods

Method Description
HttpService ( ) : System

Initializes a new instance of the HttpService class.

Method Details

CreateCompressedStream() public method

public CreateCompressedStream ( Stream stream ) : Stream
stream Stream
return Stream

GetContentEncoding() public method

public GetContentEncoding ( ) : string
return string

PostAsync() public method

public PostAsync ( Uri address, byte content, string contentType, string contentEncoding, System.TimeSpan timeout = default(TimeSpan) ) : System.Threading.Tasks.Task
address System.Uri
content byte
contentType string
contentEncoding string
timeout System.TimeSpan
return System.Threading.Tasks.Task