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

Afficher le fichier Open project: aurora-lzzp/Aurora-Weather

Méthodes publiques

Méthode 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 méthode

public static RequestAsync ( string ipUrl ) : Task
ipUrl string
Résultat Task

RequestIncludeKeyAsync() public static méthode

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

RequestWithFormattedUrlAsync() public static méthode

public static RequestWithFormattedUrlAsync ( string requestUrl, string v ) : Task
requestUrl string
v string
Résultat Task