Skip to main content
WebSocket commands enable you to connect to WebSocket servers, send messages, and listen for incoming data in real time.

Overview

WebSocket commands provide functionality for:
  • Establishing authenticated, proxied WebSocket connections
  • Sending messages over an open connection
  • Listening for and collecting incoming messages

Available Commands

Web Socket Connect

Connect to a WebSocket server with optional proxy and headers

Web Socket Send

Send a message over an open WebSocket connection

Web Socket Listen

Listen for incoming messages from the WebSocket server

Common Use Cases

  • Live Data Feeds: Connect to sports or financial data WebSocket feeds
  • Real-Time Scraping: Capture streaming data from WebSocket endpoints
  • Subscription Protocols: Send subscription messages and collect responses