Click or drag to resize

HTTPClientRequestRaw 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 HTTPClientMethod.

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(
	HTTPClientMethod method,
	string url,
	string[] headers,
	byte[] body
)

Parameters

method
Type: GodotHTTPClientMethod

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

url
Type: SystemString

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

headers
Type: SystemString

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

body
Type: SystemByte

[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