{"library":"hapi-plugin-websocket","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.4.11","tags":["javascript","hapi","plugin","websocket","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install hapi-plugin-websocket","imports":["const HAPIWebSocket = require('hapi-plugin-websocket')","import type { Plugin } from 'hapi-plugin-websocket'","import type { WebSocketRouteOptions } from 'hapi-plugin-websocket'"]},{"cmd":"yarn add hapi-plugin-websocket","imports":[]},{"cmd":"pnpm add hapi-plugin-websocket","imports":[]}],"homepage":"https://github.com/rse/hapi-plugin-websocket","github":"https://github.com/rse/hapi-plugin-websocket","docs":null,"changelog":null,"pypi":null,"npm":"hapi-plugin-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}