Version: 2023.2
LanguageEnglish
  • C#

UnityEngine.UnityWebRequestModule

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

Description

The UnityWebRequest module lets you communicate with http services.

Classes

CertificateHandlerResponsible for rejecting or accepting certificates received on https requests.
DownloadHandlerManage and process HTTP response body data received from a remote server.
DownloadHandlerBufferA general-purpose DownloadHandler implementation which stores received data in a native byte buffer.
DownloadHandlerFileDownload handler for saving the downloaded data to file.
DownloadHandlerScriptAn abstract base class for user-created scripting-driven DownloadHandler implementations.
MultipartFormDataSectionA helper object for form sections containing generic, non-file data.
MultipartFormFileSectionA helper object for adding file uploads to multipart forms via the [IMultipartFormSection] API.
UnityWebRequestProvides methods to communicate with web servers.
UnityWebRequestAsyncOperationAsynchronous operation object returned from UnityWebRequest.SendWebRequest().You can yield until it continues, register an event handler with AsyncOperation.completed, or manually check whether it's done (AsyncOperation.isDone) or progress (AsyncOperation.progress).
UploadHandlerHelper object for UnityWebRequests. Manages the buffering and transmission of body data during HTTP requests.
UploadHandlerFileA specialized UploadHandler that reads data from a given file and sends raw bytes to the server as the request body.
UploadHandlerRawA general-purpose UploadHandler subclass, using a native-code memory buffer.
WWWFormHelper class to generate form data to post to web servers using the UnityWebRequest or WWW classes.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961