Documentation

Unity Engine

Download Unity

Unity Engine

UnityEngine.UnityWebRequestModule

The UnityWebRequest module lets you communicate with http services.
Read time 1 minuteLast updated 3 hours ago

Definition

  • Type: Module

Classes

Class

Description

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 custom, scriptable 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.
UnityHttpMessageHandlerAn
HttpMessageHandler
that can be used with
HttpClient
to perform web requests using UnityWebRequest.
UnityWebRequestProvides methods to communicate with web servers.
UnityWebRequestAsyncOperationAsynchronous operation object returned from ().
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.

Enums

Enum

Description

HttpForcedVersionThe version of HTTP to force when using UnityHttpMessageHandler or UnityWebRequest.

Interfaces

Interface

Description

IMultipartFormSectionAn interface for composition of data into multipart forms.