{"repo":"grpc/grpc-web","free":true,"listed":false,"github":"https://github.com/grpc/grpc-web","clone":"git clone https://github.com/grpc/grpc-web.git","description":"gRPC for Web Clients","language":"JavaScript","stars":9254,"topics":["web","javascript","grpc"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"gRPC Web &middot; A JavaScript implementation of [gRPC][] for browser clients. For more information, including a quick start , see the [gRPC-web documentation][grpc-web-docs]. gRPC-web clients connect to gRPC services via a special proxy; by default, gRPC-web uses [Envoy][]. In the future, we expect gRPC-web to be supported in language-specific web frameworks for languages such as Python, Java, and Node. For details, see the roadmap. Streaming Support gRPC-web currently supports 2 RPC modes: - Unary RPCs (example) - Server-side Streaming RPCs (example) (NOTE: Only when grpcwebtext mode is used.) Client-side and Bi-directional streaming is not currently supported (see streaming roadmap). Quick Start Eager to get started? Try the [Hello World example][]. From this example, you'll learn how to do the following: - Define your service using protocol buffers - Implement a simple gRPC Service using Node.js - Configure the Envoy proxy - Generate protobuf message classes and client service stub for the client - Compile all the JS dependencies into a static library that can be consumed by the browser easily Advanced Demo: Browser Echo App You can also try to run a more advanced Echo app from the browser with a streaming example. From the repo root directory: Open a browser tab, and visit http://localhost:8081/echotest.html. To shutdown: docker-compose down . Runtime Library The gRPC-web runtime library is available on npm: Code Generator Plugins (Prerequisite) 1. Protobuf ( protoc ) If","default_branch":null,"files":null,"tree":[],"storefront":"/r/grpc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/grpc/grpc-web/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."}