Skip to content

gRPC todo example with unary RPC, client streaming RPC, server streaming RPC, and bidirectional streaming RPC.

Notifications You must be signed in to change notification settings

martinloesethjensen/dart_grpc_todo_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dart_grpc_todo_example

Have dart installed.

Activate protoc to generate stub files.

pub global activate protoc_plugin

To generate stubs with protoc: protoc --dart_out=grpc:lib/src/generated -Iprotos protos/todo.proto

Follow the prerequisites for dart on grpc.io

First get the packages

pub get

Start the server

dart bin/server.dart

Run client with args

dart bin/client.dart {1|2|3|4|5|6}

Scenarios can be found in the code here

About

gRPC todo example with unary RPC, client streaming RPC, server streaming RPC, and bidirectional streaming RPC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published