# websocket-grpc **Repository Path**: npm-packages/websocket-grpc ## Basic Information - **Project Name**: websocket-grpc - **Description**: gRPC in websocket. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-27 - **Last Updated**: 2022-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # websocket-grpc ## About gRPC in websocket. ## How use ### npm ```bash npm i websocket-grpc --save ``` ### yarn ```bash yarn add websocket-grpc -S ``` ### example ```javascript const WsProto = require('websocket-grpc'); const wsproto = new WsProto(); const wsUrl="ws://127.0.0.1"; await wsproto.init( wsUrl, "./ws.proto", "ReqMsgUpload", "RespMsg" ); const res = await wsproto.request(payload); console.log(res); ```