기술 자료

Unity Engine

Unity Engine

Head

Creates a UnityWebRequest configured to send a HTTP HEAD request.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Head(string)

Creates a UnityWebRequest configured to send a HTTP
HEAD
request.
public static UnityWebRequest Head(string uri)

Parameters

The URI to which to send a HTTP
HEAD
request.

Returns

Type

Description

UnityWebRequestA UnityWebRequest configured to transmit a HTTP
HEAD
request.

Remarks

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.

Head(Uri)

Creates a UnityWebRequest configured to send a HTTP
HEAD
request.
public static UnityWebRequest Head(Uri uri)

Parameters

uri

The URI to which to send a HTTP
HEAD
request.

Returns

Type

Description

UnityWebRequestA UnityWebRequest configured to transmit a HTTP
HEAD
request.

Remarks

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.