For the complete documentation index, see llms.txt. This page is also available as Markdown.

originOS Browser Methods

Legacy (originOS). These string methods were the networking surface of originOS OSL, running in the browser/rotur environment. In the OSL CLI use the requests, net and ws packages instead. These pages are kept for reference.

The methods below are called on a URL string. Two families exist:

  • HTTP - .httpGet() and .http(method, data, headers) block until the request finishes; .getAsync() returns "Loading" until the response arrives so the UI keeps running.

  • rotur - .roturConnect() and .roturSend(msg, target) exchange packets over the rotur network.

See also WebSockets for persistent connections.

Last updated