HttpClient クラス (System.Net.Http 名前空間)
public class HttpClient : HttpMessageInvoker
継承:Object → HttpMessageInvoker → HttpClient
[toc]メソッド
GetAsync
public Task<HttpResponseMessage> GetAsync (string? requestUri);
public Task<HttpResponseMessage> GetAsync (Uri? requestUri);
public Task<HttpResponseMessage> GetAsync (string? requestUri, HttpCompletionOption completionOption);
public Task<HttpResponseMessage> GetAsync (string? requestUri, CancellationToken cancellationToken);
public Task<HttpResponseMessage> GetAsync (Uri? requestUri, HttpCompletionOption completionOption);
public Task<HttpResponseMessage> GetAsync (Uri? requestUri, CancellationToken cancellationToken);
public Task<HttpResponseMessage> GetAsync (string? requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken);
public Task<HttpResponseMessage> GetAsync (Uri? requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken);
- 指定された URI に GET 要求を非同期操作として送信します。