> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/legacy-osl-originos/networking.md).

# 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`](/packages/web/requests.md), [`net`](/packages/web/net.md) and [`ws`](/packages/web/ws.md) 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](/legacy-osl-originos/networking/websockets.md) for persistent connections.
