Function: ext.resource.Put

Sends a resource to the host. The definition of the resource with this URL must be known at the host and has to be provided previously, e.g., in the context of an Object Event. If the resource value is very large (e.g., > 1 MB), consider using out-of-band HTTP transfer instead.

Syntax

{
	"method": "ext.resource.Put",
	"params": {
		"url": "...",
		"value": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<void> ResourcePut( AdvString url, AdvValue value );
public Task ResourcePutAsync(string url, object? value, CancellationToken ct = default);
resourcePut(url: string, value: Object): Promise<>;

Parameters

url : string

The parameter value is AopUrl.

Resource URL.

value : value

The resource value.

Result : void