Inheritance: IDisposable
Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public UnityWebRequest(string url, string method, DownloadHandler downloadHandler, UploadHandler uploadHandler)
 {
 }