Using WebSockets (RFC 6455)
CommunityEnable real-time server-to-client communication.
Authorsorodriguezz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables real-time, bi-directional communication between clients and servers, overcoming the limitations of traditional request-response models by allowing servers to push data proactively.
Core Features & Use Cases
- Full-Duplex Communication: Establishes a persistent, full-duplex channel over a single TCP connection.
- WebSocket Handshake: Implements the HTTP-based handshake for upgrading connections.
- Client-Side Implementation: Provides JavaScript examples for creating, sending, receiving, and closing WebSocket connections.
- Server-Side Implementation: Details how to create WebSocket servers using
%CSP.WebSocketin InterSystems IRIS, including synchronous and asynchronous operation modes. - Use Case: Building a live chat application, real-time stock tickers, or collaborative editing tools where immediate data updates are crucial.
Quick Start
Implement a WebSocket server by subclassing %CSP.WebSocket and defining the Server() method to handle client messages.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Using WebSockets (RFC 6455) Download link: https://github.com/sorodriguezz/skills-objectscript/archive/main.zip#using-websockets-rfc-6455 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.