RetrieveWebHareResource (open)
Retrieve a WebHare resource, returning data, path and modification date
Syntax
LOADLIB "mod::system/lib/resources.whlib";
RECORD FUNCTION RetrieveWebHareResource(STRING resourcepath, RECORD options)Parameters
STRING resourcepathResource path
RECORD optionsOptions
BOOLEAN allowmissingIf set to TRUE, don't throw if the resource doesn't exist but return a DEFAULT RECORD
Return value
RECORDRecord describing the WebHare resource. Throws a RetrieveResourceException when the resources doesn't exist (returns DEFAULT RECORD when allowmissing is set to TRUE)
BLOB dataThe data
STRING pathPath of the requested resource