Function: ext.resource.Get
Requests a resource from the host. Note that the resource may only be accessible temporarily; for instance immediately after an Operation containing the resource URL was received from the host.
Syntax
{
"method": "ext.resource.Get",
"params": {
"url": "...",
"props": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<ResourceResult> ResourceGet( AdvString url, std::optional<AdvObject> props = std::nullopt );public Task<ResourceResult> ResourceGetAsync(string url,
IDictionary<string,
object?>? props = null,
CancellationToken ct = default);resourceGet(url: string, props?: Map<string, Object> | undefined): Promise<ResourceResult>;Parameters
url : string
The parameter value is AopUrl.
Resource URL.
props : value{} optional
The parameter key is Symbol.
Additional properties required to get the resource.