hapi-plugin-websocket

JSON →
library 2.4.11 ·javascript
verified Jun 7, 2026

A HAPI plugin for seamless WebSocket integration, version 2.4.11 (stable). It allows HAPI routes to handle WebSocket connections by transforming messages into HTTP requests. Supports combined REST/WebSocket routes, exclusive WebSocket routes, authentication, custom subprotocols, and automatic pings. Requires Node.js >=12 and @hapi/hapi >=18.0.0. Ships TypeScript types.