DownloadHandlerBufferConstructor

Switch to Manual
public DownloadHandlerBuffer ();

Description

Default constructor.

using System.Collections;
using UnityEngine;
using UnityEngine.Networking;

public class Example : MonoBehaviour { IEnumerator Start() { using (var uwr = new UnityWebRequest("https://unity3d.com/", UnityWebRequest.kHttpVerbGET)) { uwr.downloadHandler = new DownloadHandlerBuffer(); yield return uwr.SendWebRequest(); Debug.Log(uwr.downloadHandler.text); } } }