C# Класс UWP10template.Services.HttpService

Показать файл Открыть проект

Открытые методы

Метод Описание
GetAsync ( string requestUriString ) : Task

Makes a GET request

HttpService ( ) : System.Collections.Generic

Initializes a new instance of the HttpService class

PostAsync ( string requestUriString ) : Task

Makes a POST request

PostAsync ( string requestUriString, string>.List content ) : Task

Makes a POST request

PostAsync ( string requestUriString, object data ) : Task

Makes a post request sending JSON content.

PostAsync ( string requestUriString, string contentType, byte content ) : Task

Makes a POST request

Описание методов

GetAsync() публичный Метод

Makes a GET request
public GetAsync ( string requestUriString ) : Task
requestUriString string The request Uri
Результат Task

HttpService() публичный Метод

Initializes a new instance of the HttpService class
public HttpService ( ) : System.Collections.Generic
Результат System.Collections.Generic

PostAsync() публичный Метод

Makes a POST request
public PostAsync ( string requestUriString ) : Task
requestUriString string The request Uri
Результат Task

PostAsync() публичный Метод

Makes a POST request
public PostAsync ( string requestUriString, string>.List content ) : Task
requestUriString string The request Uri
content string>.List The content to send with the request
Результат Task

PostAsync() публичный Метод

Makes a post request sending JSON content.
public PostAsync ( string requestUriString, object data ) : Task
requestUriString string The request Uri
data object The content to POST
Результат Task

PostAsync() публичный Метод

Makes a POST request
public PostAsync ( string requestUriString, string contentType, byte content ) : Task
requestUriString string The request Uri
contentType string The type of content to send with the request
content byte The content to send with the request
Результат Task