Files
showbridge-docs/src/content/docs/modules/websocket/client.mdx
T
2026-06-01 18:03:47 -05:00

23 lines
513 B
Plaintext

---
title: WebSocket Client
sidebar:
label: Client
order: 1
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
The `websocket.client` module opens a websocket connection to the specified URL. This module supports both text and binary websocket messages.
<SchemaInfo type="module" id="websocket.client"></SchemaInfo>
### Example
Connect to the example WS server at `echo.websocket.org`.
```yaml
- id: websocket
type: websocket.client
params:
url: "wss://echo.websocket.org"
```