# Actions

### <mark style="color:purple;">Connect To Server</mark>

Attempts to connect to the local web socket server. Note, you can additionally use the "Autoconnect" feature found in the element settings.

***

### <mark style="color:purple;">Disconnect From Server</mark>

Disconnects from the websocket server.

***

### <mark style="color:purple;">Send Message To Server</mark>

Sends a message to a the web socket server.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deskifier.gitbook.io/deskifier/deskifier-bubble.io-docs/websocket-client-element/actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
