Version: 2021.1
言語: 日本語
public Dictionary<string,string> GetResponseHeaders ();

戻り値

Dictionary<string,string> 最新の HTTP レスポンスで受信したすべてのレスポンスヘッダーを含むディクショナリ。レスポンスを受信していない場合 null を返します。

説明

最新の HTTP レスポンスの UnityWebRequest によって受信されたすべてのレスポンスヘッダーを含むディクショナリを取得します。

UnityWebRequest が複数のレスポンスを受けた場合 (リダイレクトが続いているような場合等)、最新/最終レスポンスからのヘッダーのみが含まれます。

Note: This method allocates a new Dictionary object each time it is called. You may wish to cache the return value from this call if you are retrieving it multiple times.


Did you find this page useful? Please give it a rating: