文档

Unity Engine

Unity Engine

Delete

Creates a UnityWebRequest configured for HTTP DELETE.
阅读时间1 分钟最后更新于 1 个月前

Definition

Delete(string)

Creates a UnityWebRequest configured for HTTP
DELETE
.
public static UnityWebRequest Delete(string uri)

Parameters

The URI to which a
DELETE
request should be sent.

Returns

Type

Description

UnityWebRequestA UnityWebRequest configured to send an HTTP
DELETE
request.

Remarks

This method creates a UnityWebRequest, sets the verb to
DELETE
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.

Delete(Uri)

Creates a UnityWebRequest configured for HTTP
DELETE
.
public static UnityWebRequest Delete(Uri uri)

Parameters

uri

The URI to which a
DELETE
request should be sent.

Returns

Type

Description

UnityWebRequestA UnityWebRequest configured to send an HTTP
DELETE
request.

Remarks

This method creates a UnityWebRequest, sets the verb to
DELETE
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.