IPWorks 2020 JavaScript Edition

Questions / Feedback?

GetResource Method

Fetches a resource.

Syntax

async atom.getResource(URL : string): Promise<void>

Remarks

This method fetches the resource. If LocalFile is set, the document will be saved in the file specified. Otherwise, the document contents are delivered in the AtomData property, as well as through the Transfer event, and the HTTP response headers through the Header event.

Unlike the GetFeed method, after retrieval, the class will not attempt to parse the data into the Channel and Entries properties.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 JavaScript Edition - Version 20.0 [Build 8292]