Version: 2017.3
public static Networking.UnityWebRequest Head (string uri);

Parámetros

uri The URI to which to send a HTTP HEAD request.

Valor de retorno

UnityWebRequest A UnityWebRequest configured to transmit a HTTP HEAD request.

Descripción

Creates a UnityWebRequest configured to send a HTTP HEAD request.

This method creates a UnityWebRequest, sets the verb to HEAD and sets the target URL to the string argument uri. It sets no custom flags or headers.

This method attaches no DownloadHandler or UploadHandler to the UnityWebRequest.