Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

akurdyukov/test-rust-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Rust gRPC demo

Shows client -> user-based processor -> subscription stream way.

Run server with

cargo run --bin server

Run client with

cargo run --bin client

Also, may use grpcc like this:

grpcc -i -p ./src/protos/example/service.proto --address 127.0.0.1:9000 --eval 'client.execute({command_id: 1}, printReply)'

TODO

[ ] Correct client unsubscription [ ] Sometimes server does not answer, fix that [ ] Use headers for user_id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages