C# Class ApexLumia.HTTPRequests

Afficher le fichier Open project: ApexHAB/apex-lumia Class Usage Examples

Méthodes publiques

Méthode Description
getRequestAsync ( string url ) : Task

Async: Make an HTTP GET request to a URL (with no extra parameters)

postRequestAsync ( string url, string postData, string authorization = "", bool Expect100Continue = true ) : Task
putRequestAsync ( string url, string putData ) : Task

Async: Make an HTTP PUT request to a URL with data

Method Details

getRequestAsync() public static méthode

Async: Make an HTTP GET request to a URL (with no extra parameters)
public static getRequestAsync ( string url ) : Task
url string The URL you would like to send a request to.
Résultat Task

postRequestAsync() public static méthode

public static postRequestAsync ( string url, string postData, string authorization = "", bool Expect100Continue = true ) : Task
url string
postData string
authorization string
Expect100Continue bool
Résultat Task

putRequestAsync() public static méthode

Async: Make an HTTP PUT request to a URL with data
public static putRequestAsync ( string url, string putData ) : Task
url string The URL you would like to send a request to.
putData string The data you would like to send to the URL (e.g. JSON)
Résultat Task