Difference between revisions of "Development/Tutorials/Plasma/JavaScript/API-HTTP"

Jump to: navigation, search
(Created page with '= HTTP = This Extension provides access to data and files via http and https using asynchronous IOJob objects. Functions: * ''IOJob'' ''...')
 

Latest revision as of 13:24, 24 June 2011

[edit] HTTP

This Extension provides access to data and files via http and https using asynchronous IOJob objects.

Functions:

  • IOJob getUrl(Url url): attempts to fetch the file using an IOJob
  • IOJob getUrl(String url): attempts to fetch the file using an IOJob
  • bool openUrl([string|Url] url): (API v4) Opens the url in the default application (or asks the user if there is no default application for the file). The url parameter may be either a string or a Url. Returns true on success, false on failure.

This page was last modified on 24 June 2011, at 13:24. This page has been accessed 1,923 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal