SetWebURL: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 9: Line 9:
{{FuncParam|URL|The URL}}
{{FuncParam|URL|The URL}}


{{FuncReturnValue|Returns ''false''' on failure.}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==

Revision as of 17:59, 23 January 2020

SetWebURL

Type: Function
Context: Client
Introduced: v1.0

Description

Set the web URL. Not all URLs are whitelisted and might not work.

Syntax

SetWebURL(web, URL)

Parameters

  • web
    The web identifier
  • URL
    The URL

Return Value

  • Returns true on success.

Example

SetWebURL(webId, "https://google.com")

See also