C# Class Com.Aurora.Shared.Helpers.ApiRequestHelper

Show file Open project: aurora-lzzp/Aurora-Weather

Public Methods

Method Description
RequestAsync ( string ipUrl ) : Task
RequestIncludeKeyAsync ( string url, string pars, string apikey ) : Task

发送 HTTP 请求

RequestWithFormattedUrlAsync ( string requestUrl, string v ) : Task

Method Details

RequestAsync() public static method

public static RequestAsync ( string ipUrl ) : Task
ipUrl string
return Task

RequestIncludeKeyAsync() public static method

发送 HTTP 请求
public static RequestIncludeKeyAsync ( string url, string pars, string apikey ) : Task
url string 请求的 URL
pars string 请求的参数
apikey string API Key
return Task

RequestWithFormattedUrlAsync() public static method

public static RequestWithFormattedUrlAsync ( string requestUrl, string v ) : Task
requestUrl string
v string
return Task