1. IRawClient

インターフェイス IRawClient

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

認証されたまま、および (偽装している場合は) 偽装したまま、 カスタム HTTP 要求を実行する機能が含まれています。カスタム HTTP クライアントまたは委任ハンドラーは引き続き使用されます。 イベントは引き続き発生します。

名前空間: Stylelabs.M.Sdk.WebClient.Contracts
アセンブリ: Stylelabs.M.Sdk.WebClient.dll
構文
public interface IRawClient

メソッド

DeleteAsync(String, IDictionary<String, String>)

DELETE 要求を送信します。

宣言
Task<HttpResponseMessage> DeleteAsync(string uri, IDictionary<string, string> headers = null)
パラメーター
名前説明
System.Stringuri

URL を要求。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

DeleteAsync(Uri, IDictionary<String, String>)

DELETE 要求を送信します。

宣言
Task<HttpResponseMessage> DeleteAsync(Uri uri, IDictionary<string, string> headers = null)
パラメーター
名前説明
Uriuri

URL を要求。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

GetAsync(String, IDictionary<String, String>)

GET 要求を送信します。

宣言
Task<HttpResponseMessage> GetAsync(string uri, IDictionary<string, string> headers = null)
パラメーター
名前説明
System.Stringuri

URL を要求。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

GetAsync(Uri, IDictionary<String, String>)

GET 要求を送信します。

宣言
Task<HttpResponseMessage> GetAsync(Uri uri, IDictionary<string, string> headers = null)
パラメーター
名前説明
Uriuri

URL を要求。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

PostAsync(String, HttpContent, IDictionary<String, String>)

POST 要求を送信します。

宣言
Task<HttpResponseMessage> PostAsync(string uri, HttpContent content = null, IDictionary<string, string> headers = null)
パラメーター
名前説明
System.Stringuri

URL を要求。

HttpContentcontent

送信する HTTP コンテンツ。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

PostAsync(Uri, HttpContent, IDictionary<String, String>)

POST 要求を送信します。

宣言
Task<HttpResponseMessage> PostAsync(Uri uri, HttpContent content = null, IDictionary<string, string> headers = null)
パラメーター
名前説明
Uriuri

URL を要求。

HttpContentcontent

送信する HTTP コンテンツ。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

PutAsync(String, HttpContent, IDictionary<String, String>)

PUT 要求を送信します。

宣言
Task<HttpResponseMessage> PutAsync(string uri, HttpContent content = null, IDictionary<string, string> headers = null)
パラメーター
名前説明
System.Stringuri

URL を要求。

HttpContentcontent

送信する HTTP コンテンツ。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

PutAsync(Uri, HttpContent, IDictionary<String, String>)

PUT 要求を送信します。

宣言
Task<HttpResponseMessage> PutAsync(Uri uri, HttpContent content = null, IDictionary<string, string> headers = null)
パラメーター
名前説明
Uriuri

URL を要求。

HttpContentcontent

送信する HTTP コンテンツ。

IDictionary<System.String, System.String>headers

含めるヘッダー。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

SendAsync(Func<HttpRequestMessage>)

メッセージ ファクトリを使用して HTTP 要求を実行し、要求を再試行できるようにします。

宣言
Task<HttpResponseMessage> SendAsync(Func<HttpRequestMessage> messageFactory)
パラメーター
名前説明
Func<HttpRequestMessage>messageFactory

メッセージ ファクトリ。

戻り値
説明
Task<HttpResponseMessage>

HTTP 応答。

この記事を改善するための提案がある場合は、 お知らせください!