public UnityWebRequest(string url, string method, DownloadHandler downloadHandler, UploadHandler uploadHandler) { this.InternalCreate(); this.InternalSetDefaults(); this.url = url; this.method = method; this.downloadHandler = downloadHandler; this.uploadHandler = uploadHandler; }
public void Dispose() { if (this.disposeDownloadHandlerOnDispose) { DownloadHandler downloadHandler = this.downloadHandler; if (downloadHandler != null) { downloadHandler.Dispose(); } } if (this.disposeUploadHandlerOnDispose) { UploadHandler uploadHandler = this.uploadHandler; if (uploadHandler != null) { uploadHandler.Dispose(); } } this.InternalDestroy(); GC.SuppressFinalize(this); }
public UnityWebRequest(string url, string method, DownloadHandler downloadHandler, UploadHandler uploadHandler) { }