Click or drag to resize

HTTPClient.RequestRaw Method

Sends a raw request to the connected host. The URL parameter is just the part after the host, so for http://somehost.com/index.php, it is index.php.

Headers are HTTP request headers. For available HTTP methods, see HTTPClient.Method.

Sends the body data raw, as a byte array and does not encode it in any way.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error RequestRaw(
	HTTPClient.Method method,
	string url,
	string[] headers,
	byte[] body
)

Parameters

method
Type: Godot.HTTPClient.Method

[Missing <param name="method"/> documentation for "M:Godot.HTTPClient.RequestRaw(Godot.HTTPClient.Method,System.String,System.String[],System.Byte[])"]

url
Type: System.String

[Missing <param name="url"/> documentation for "M:Godot.HTTPClient.RequestRaw(Godot.HTTPClient.Method,System.String,System.String[],System.Byte[])"]

headers
Type:System.String[]

[Missing <param name="headers"/> documentation for "M:Godot.HTTPClient.RequestRaw(Godot.HTTPClient.Method,System.String,System.String[],System.Byte[])"]

body
Type:System.Byte[]

[Missing <param name="body"/> documentation for "M:Godot.HTTPClient.RequestRaw(Godot.HTTPClient.Method,System.String,System.String[],System.Byte[])"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.HTTPClient.RequestRaw(Godot.HTTPClient.Method,System.String,System.String[],System.Byte[])"]

See Also