Sha256: f38a5af9d6e01f97712268060a2269c1a7adc7c21177ba0c1984493c254f8e0a

Contents?: true

Size: 875 Bytes

Versions: 16

Compression:

Stored size: 875 Bytes

Contents

URI OBJECT TYPE
  NAME: uri
  SHORTCUT: url

  DESCRIPTION
    A URI or URL.

  CHILDREN
    None

  MESSAGES
    open - open the URL in the default browser
    get_scheme - get the URI scheme; example:  http
    get_host - get the URI host; example:  google.com
    get_path - get the URI resource path; example:  /post
    get_query - get the URI query parameters; example:  id=121
    get_fragment - get the URI fragment
    get_cert_expires - get the web site's certificate expiration date

  EXAMPLE

    url [can] :
      on_load [script] :
        tell url.u to get_scheme
        show "scheme: " + it

        tell url.u to get_host
        show "host: " + it

        tell url.u to get_path
        show "path: " + it

        show "opening URL: " + url.u
        tell url.u to open
      u [uri] : https://my.url/path/1234

  SEE ALSO
    http_get, http_post, json

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gloo-lang-1.0.2 lib/gloo_lang/help/objs/web/uri.txt
gloo-1.0.0 lib/gloo/help/objs/web/uri.txt
gloo-lang-1.0.1 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-1.0.0 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.11 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.10 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.9 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.8 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.7 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.6 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.5 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.4 lib/gloo_lang/help/objs/web/uri.txt
gloo-lang-0.9.3 lib/gloo_lang/help/objs/web/uri.txt
gloo-0.8.0 lib/gloo/help/objs/web/uri.txt
gloo-0.7.7 lib/gloo/help/objs/web/uri.txt
gloo-0.7.6 lib/gloo/help/objs/web/uri.txt