Files
tonic/examples
Juan Alvarez 4e5c6c8f23 chore(example): update guides to 0.1-beta.1 (#198)
* update routeguide

* update helloworld

* depend on tonic beta.1

* Apply suggestions from code review

Co-Authored-By: Lucio Franco <luciofranco14@gmail.com>

Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
2019-12-19 18:23:25 -05:00
..

Examples

Set of examples that show off the features provided by tonic.

Helloworld

Client

$ cargo run --bin helloworld-client

Server

$ cargo run --bin helloworld-server

RouteGuide

Client

$ cargo run --bin routeguide-client

Server

$ cargo run --bin routeguide-server

Authentication

Client

$ cargo run --bin authentication-client

Server

$ cargo run --bin authentication-server

Load balance

Client

$ cargo run --bin load-balance-client

Server

$ cargo run --bin load-balance-server

TLS (rustls)

Client

$ cargo run --bin tls-client

Server

$ cargo run --bin tls-server

Notes:

If you are using the codegen feature, then the following dependencies are required: