C# Class AcoustID.Web.WebHelper

ファイルを表示 Open project: wo80/AcoustID.NET

Public Methods

Method Description
CreateHttpClient ( bool automaticDecompression = true ) : HttpClient
SendGet ( string url, string query ) : Task
SendPost ( string url, Stream body, bool useCompression ) : Task
SendPost ( string url, string query, bool useCompression ) : Task

Method Details

CreateHttpClient() public static method

public static CreateHttpClient ( bool automaticDecompression = true ) : HttpClient
automaticDecompression bool
return System.Net.Http.HttpClient

SendGet() public static method

public static SendGet ( string url, string query ) : Task
url string
query string
return Task

SendPost() public static method

public static SendPost ( string url, Stream body, bool useCompression ) : Task
url string
body System.IO.Stream
useCompression bool
return Task

SendPost() public static method

public static SendPost ( string url, string query, bool useCompression ) : Task
url string
query string
useCompression bool
return Task