Skip to content

samsarge/tonic-grpc-server-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just a back up of an example of using tonic for creating a gRPC server in rust

Usage

cargo run --release

send request to imitate client request with grpcurl or postman

grpcurl -plaintext -import-path ./proto -proto users.proto -d '{"name": "Sam"}' '[::]:50051' user.UserService/SayHello

About

Just an example of using tonic to create a grpc api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages