C# Class mobSocial.Services.Helpers.HttpHelper

显示文件 Open project: mobsoftware/mobsocial

Public Methods

Method Description
DownloadRemoteImageFile ( string Url, string OutputImageFile ) : void
ExecuteGet ( string url ) : byte[]
ExecutePost ( string url, NameValueCollection Parameters = null ) : byte[]
ExecuteUrl ( string url, RequestMethod method = RequestMethod.Post, NameValueCollection Parameters = null ) : byte[]

Method Details

DownloadRemoteImageFile() public static method

public static DownloadRemoteImageFile ( string Url, string OutputImageFile ) : void
Url string
OutputImageFile string
return void

ExecuteGet() public static method

public static ExecuteGet ( string url ) : byte[]
url string
return byte[]

ExecutePost() public static method

public static ExecutePost ( string url, NameValueCollection Parameters = null ) : byte[]
url string
Parameters System.Collections.Specialized.NameValueCollection
return byte[]

ExecuteUrl() public static method

public static ExecuteUrl ( string url, RequestMethod method = RequestMethod.Post, NameValueCollection Parameters = null ) : byte[]
url string
method RequestMethod
Parameters System.Collections.Specialized.NameValueCollection
return byte[]