Skip to content

WebSocketTool Plugin for FastPluggy

The WebSocketTool plugin provides real-time WebSocket communication capabilities for FastPluggy applications. It enables bidirectional communication between the server and clients, supports message broadcasting, targeted messaging, and integrates with the task worker system for real-time task monitoring.

Table of Contents

Installation

Requirements

  • FastPluggy framework >=0.0.3
  • UI Tools plugin >=0.0.3

Quick Start & Installation

pip install fastpluggy-websocket-tool

Configuration

The WebSocketTool plugin can be configured through the WebSocketSettings class:

Setting Type Default Description
max_queue_size int 10000 Maximum size of the message queue
enable_heartbeat bool True Enable heartbeat mechanism to monitor connection health
heartbeat_interval int 30 Seconds between heartbeat pings
heartbeat_timeout int 60 Seconds before a connection is considered timed out

Documentation

The WebSocketTool plugin has comprehensive documentation available in the docs directory:

Quick Start

For a quick introduction to using the WebSocketTool plugin, including client-side connection examples and basic server-side usage, see the Quick Start Guide.

License

This plugin is licensed under the same license as the FastPluggy framework.