> 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/websockets/.wsclose.md).

# wsClose

> ⚠️ **Not implemented in the current OSL CLI.**

## Description

wsClose allows you to close a websocket connection.

## Parameters

wsClose takes no parameters.

## Usage

```javascript
ws_id = "url".newWebsocket()

ws_id.wsClose()
// disconnects the websocket connection
```
