UnityEngine.UnityWebRequestModule

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.
UnityWebRequestThe UnityWebRequest object is used 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