Skip to content

Example of using the Rust gRPC Tonic streaming client in the Node app using the NAPI-RS bridge

Notifications You must be signed in to change notification settings

geekbrother/napi-rs-echo-rust-client

Repository files navigation

napi-rs-echo-rust-client

Example of using the Rust Tonic gRPC bidirectional streaming client in the Node app using the NAPI-RS.

This example uses echo proto file from the Tonic examples. You can use the Tonic echo server for this client as an example.

  • Rust library is in src/lib.rs
  • NodeJS calling in test.mjs

How to Run

  • yarn
  • yarn build
  • Start the echo server
  • Run node test.mjs

About

Example of using the Rust gRPC Tonic streaming client in the Node app using the NAPI-RS bridge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published