Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 758 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 758 Bytes

Rust gRPC Web

Standalone proxy service for gRPC-Web, written in Rust.

Specification

Note: client-side & bi-directional streaming is not currently supported in the specification.

For efforts related to Tonic integration, see this PR.

Structure

  • grpc-web: logic & types
  • grpc-web-proxy: hyper server

Tutorial

Generate the JS helloworld client.

make helloworld

Run the helloworld gRPC server (built on Tonic).

cargo run --bin helloworld-server

Run the gRPC-Web proxy server.

cargo run --bin grpc-web-proxy

Open index.html in a browser.