Lines Matching refs:proto
34 [protocol buffers]. We will keep our `.proto` files in a directory in our project's root.
35 Note that Tonic does not really care where our `.proto` definitions live.
38 $ mkdir proto
39 $ touch proto/helloworld.proto
49 ```proto
56 ```proto
65 ```proto
77 Great! Now our `.proto` file should be complete and ready for use in our application. Here is what …
79 ```proto
131 tonic_build::compile_protos("proto/helloworld.proto")?;
151 …tonic::include_proto!("helloworld"); // The string specified here must match the proto package name
155 Next up, let's implement the Greeter service we previously defined in our `.proto` file. Here's wha…
246 $ grpcurl -plaintext -import-path ./proto -proto helloworld.proto -d '{"name": "Tonic"}' '[::1]:500…
318 … a client which makes requests to our server. You should have a `proto/helloworld.proto` file, a `…