| /tonic/tests/web/ |
| H A D | build.rs | 10 .for_each(|file| println!("cargo:rerun-if-changed={}", file)); in main()
|
| /tonic/examples/src/routeguide/ |
| H A D | data.rs | 19 let file = File::open(data_dir.join("route_guide_db.json")).expect("failed to open data file"); in load() localVariable 22 serde_json::from_reader(&file).expect("failed to deserialize features"); in load()
|
| /tonic/tonic-reflection/proto/ |
| H A D | reflection_v1alpha.proto | 4 // you may not use this file except in compliance with the License. 35 // Find a proto file by the file name. 38 // Find the proto file that declares the given fully-qualified symbol name. 43 // Find the proto file which defines an extension extending the given
|
| H A D | reflection_v1.proto | 4 // you may not use this file except in compliance with the License. 45 // Find a proto file by the file name. 48 // Find the proto file that declares the given fully-qualified symbol name. 53 // Find the proto file which defines an extension extending the given
|
| /tonic/examples/ |
| H A D | helloworld-tutorial.md | 77 Great! Now our `.proto` file should be complete and ready for use in our application. Here is what … 127 At the root of your project (not /src), create a `build.rs` file and add the following code: 142 …we will be using in our server, including the protobuf. Start by making a file called `server.rs` … 155 Next up, let's implement the Greeter service we previously defined in our `.proto` file. Here's wha… 260 …erver implementations. Similar to the server, we will start by creating a file `client.rs` in our … 290 That's it! Our complete client file should look something like below, if it doesn't please go back … 318 …file, a build file to compile our protobufs, a server which implements our SayHello service, and a…
|
| H A D | routeguide-tutorial.md | 6 - Define a service in a `.proto` file. 24 With gRPC we can define our service once in a `.proto` file and implement clients and servers in 93 You can see the complete `.proto` file in 96 To define a service, you specify a named `service` in your `.proto` file: 191 Create a `build.rs` file at the root of your crate: 259 the package declared in our `.proto` file, not a filename, e.g "routeguide.rs". 315 deserialize them from a json file and keep them around as our only piece of shared state: 324 Create the json data file and a helper module to read and deserialize our features. 335 **Note:** If you are following along, you'll need to change the data file's path from 584 Rename `main.rs` to `server.rs` and create a new file `client.rs`. [all …]
|
| /tonic/examples/proto/unaryecho/ |
| H A D | echo.proto | 6 * you may not use this file except in compliance with the License.
|
| /tonic/examples/proto/googleapis/google/api/ |
| H A D | annotations.proto | 4 // you may not use this file except in compliance with the License.
|
| H A D | client.proto | 4 // you may not use this file except in compliance with the License.
|
| H A D | field_behavior.proto | 4 // you may not use this file except in compliance with the License.
|
| /tonic/tonic/benches-disabled/proto/helloworld/ |
| H A D | helloworld.proto | 4 // you may not use this file except in compliance with the License.
|
| /tonic/examples/proto/helloworld/ |
| H A D | helloworld.proto | 4 // you may not use this file except in compliance with the License.
|
| /tonic/interop/proto/grpc/testing/ |
| H A D | empty.proto | 4 // you may not use this file except in compliance with the License.
|
| H A D | test.proto | 4 // you may not use this file except in compliance with the License.
|
| H A D | messages.proto | 4 // you may not use this file except in compliance with the License.
|
| /tonic/examples/proto/echo/ |
| H A D | echo.proto | 6 * you may not use this file except in compliance with the License.
|
| /tonic/codegen/src/ |
| H A D | main.rs | 117 for fd in fds.file.iter_mut() { in write_fds()
|
| /tonic/tonic-reflection/tests/ |
| H A D | server.rs | 21 .file[0] in get_encoded_reflection_service_fd()
|
| /tonic/tonic-types/proto/ |
| H A D | status.proto | 4 // you may not use this file except in compliance with the License.
|
| H A D | error_details.proto | 4 // you may not use this file except in compliance with the License. 201 // "cloud storage bucket", "file", "Google calendar"; or the type URL
|
| /tonic/tonic-build/ |
| H A D | README.md | 93 you can uncomment the line `.out_dir(...)` above, and in your lib file
|
| /tonic/tonic-health/proto/ |
| H A D | health.proto | 4 // you may not use this file except in compliance with the License.
|
| /tonic/examples/proto/routeguide/ |
| H A D | route_guide.proto | 4 // you may not use this file except in compliance with the License.
|
| /tonic/tonic-reflection/src/server/ |
| H A D | mod.rs | 139 for fd in fds.file { in new()
|
| /tonic/.github/workflows/ |
| H A D | CI.yml | 98 - name: Get MSRV from manifest file
|