Click or drag to resize

HTTPClientMethod Enumeration

[Missing <summary> documentation for "T:Godot.HTTPClient.Method"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum Method
Members
  Member nameValueDescription
Get0

HTTP GET method. The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.

Head1

HTTP HEAD method. The HEAD method asks for a response identical to that of a GET request, but without the response body. This is useful to request metadata like HTTP headers or to check if a resource exists.

Post2

HTTP POST method. The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server. This is often used for forms and submitting data or uploading files.

Put3

HTTP PUT method. The PUT method asks to replace all current representations of the target resource with the request payload. (You can think of POST as "create or update" and PUT as "update", although many services tend to not make a clear distinction or change their meaning).

Delete4

HTTP DELETE method. The DELETE method requests to delete the specified resource.

Options5

HTTP OPTIONS method. The OPTIONS method asks for a description of the communication options for the target resource. Rarely used.

Trace6

HTTP TRACE method. The TRACE method performs a message loop-back test along the path to the target resource. Returns the entire HTTP request received in the response body. Rarely used.

Connect7

HTTP CONNECT method. The CONNECT method establishes a tunnel to the server identified by the target resource. Rarely used.

Patch8

HTTP PATCH method. The PATCH method is used to apply partial modifications to a resource.

Max9

Represents the size of the HTTPClientMethod enum.

See Also