C# 클래스 UWP10template.Services.HttpService

파일 보기 프로젝트 열기: mapaux/UWP10template

공개 메소드들

메소드 설명
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