Skip to content

WebSocket Client

The websocket.client module opens a websocket connection to the specified URL. This module supports both text and binary websocket messages.

  • type: websocket.client
  • params:
    • url: the full url to connect to (wss://echo.websocket.org)

Connect to the example WS server at echo.websocket.org.

- id: websocket
type: websocket.client
params:
url: "wss://echo.websocket.org"