Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

UnityWebRequest.GetResponseTrailer

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public String GetResponseTrailer(String name);

Parameters

Parameter Description
name The name of the HTTP trailer to retrieve. Case-insensitive.

Returns

String The value of the HTTP trailer from the latest HTTP response. If no trailer with a matching name has been received, or no responses have been received, returns null.

Description

Retrieves the value of a response trailer from the latest HTTP response received.

In the case that this UnityWebRequest has received multiple responses (such as during redirects), only trailers from the newest (or final) response are checked.