{"repo":"cap-js-community/websocket","free":true,"listed":false,"github":"https://github.com/cap-js-community/websocket","clone":"git clone https://github.com/cap-js-community/websocket.git","description":"Exposes a WebSocket protocol via WebSocket standard or Socket.IO for CDS services","language":"JavaScript","stars":20,"topics":["cap","cds","websocket","ws","socket-io","plugin","redis","fiori","side-effects"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"WebSocket Adapter for CDS About this Project Exposes a WebSocket protocol via WebSocket standard or Socket.IO for CDS services. Runs in the context of the SAP Cloud Application Programming Model (CAP) using @sap/cds (CDS Node.js). Table of Contents - Getting Started - Usage - Server - Client - Options - Documentation - Architecture Overview - Protocol Annotations - WebSocket Server - WebSocket Implementation - WebSocket Service - WebSocket Mixin - Server Socket - Upgrade Request - Service Facade - Middlewares - Tenant Isolation - Authentication & Authorization - Invocation Context - Transactional Safety - CDS Persistent Queue - Client Determination - Filtering Operators - Event Users - Event Roles - Event Contexts - Event Client Identifiers - Event Emit Headers - Value Aggregation - Format Headers - Ignore Definitions - WebSocket Format - Push Channel Protocol (PCP) - Event-Driven Side Effects - Cloud Events - Custom Format - Generic Format - Connect & Disconnect - Server Ready - Server Client Service - Approuter - Paths - Operations - Operation Results - Unbound Operations - Special Operations - Bound Operations - CRUD Operations - Examples - Fiori (UI5) - Todo (UI5) - Chat (HTML) - Unit-Tests - Adapters - WS Standard Adapters - Socket.IO Adapters - Deployment - Support, Feedback, Contributing - Code of Conduct - Licensing Getting Started - Run npm add @cap-js-community/websocket in @sap/cds project - Add a WebSocket-enabled CDS service: - Emit event from business logic: - S","default_branch":null,"files":null,"tree":[],"storefront":"/r/cap-js-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cap-js-community/websocket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}