| /tonic/examples/ |
| H A D | Cargo.toml | 9 path = "src/helloworld/server.rs" 13 path = "src/helloworld/client.rs" 17 path = "src/blocking/server.rs" 21 path = "src/blocking/client.rs" 59 path = "src/tls/client.rs" 64 path = "src/tls/server.rs" 107 path = "src/gcp/client.rs" 122 path = "src/uds/client.rs" 127 path = "src/uds/server.rs" 165 path = "src/mock/mock.rs" [all …]
|
| /tonic/codegen/src/ |
| H A D | main.rs | 4 path::{Path, PathBuf}, 81 let iface_files = iface_files.iter().map(|&path| root_dir.join(path)); in codegen() 82 let include_dirs = include_dirs.iter().map(|&path| root_dir.join(path)); in codegen() 97 for path in std::fs::read_dir(tempdir.path()).unwrap() { in codegen() 98 let path = path.unwrap().path(); in codegen() localVariable 100 path.file_name() in codegen() 109 std::fs::copy(&path, &to).unwrap(); in codegen() 113 fn write_fds(fds: &FileDescriptorSet, path: &Path) { in write_fds() 131 let mut writer = BufWriter::new(File::create(path).unwrap()); in write_fds()
|
| /tonic/tonic-build/src/ |
| H A D | prost.rs | 11 path::{Path, PathBuf}, 400 path: P, in message_attribute() 421 self.boxed.push(path.as_ref().to_string()); in boxed() 439 .map(|path| path.as_ref().to_string()) in btree_map() 459 .map(|path| path.as_ref().to_string()) in bytes() 468 path: P, in server_mod_attribute() 486 path: P, in client_mod_attribute() 621 for path in protos.iter() { in compile_protos_with_config() 625 for path in includes.iter() { in compile_protos_with_config() 657 config.file_descriptor_set_path(path); in setup_config() [all …]
|
| H A D | client.rs | 232 let path = format_method_path(service, method, emit_package); in generate_unary() localVariable 244 let path = http::uri::PathAndQuery::from_static(#path); in generate_unary() localVariable 247 self.inner.unary(req, path, codec).await in generate_unary() 263 let path = format_method_path(service, method, emit_package); in generate_server_streaming() localVariable 275 let path = http::uri::PathAndQuery::from_static(#path); in generate_server_streaming() localVariable 278 self.inner.server_streaming(req, path, codec).await in generate_server_streaming() 294 let path = format_method_path(service, method, emit_package); in generate_client_streaming() localVariable 306 let path = http::uri::PathAndQuery::from_static(#path); in generate_client_streaming() localVariable 309 self.inner.client_streaming(req, path, codec).await in generate_client_streaming() 337 let path = http::uri::PathAndQuery::from_static(#path); in generate_streaming() localVariable [all …]
|
| /tonic/tests/skip_debug/tests/ |
| H A D | skip_debug.rs | 1 use std::{fs, path::PathBuf}; 5 let path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("test.rs"); in skip_debug() localVariable 6 let s = fs::read_to_string(path).unwrap(); in skip_debug()
|
| /tonic/tests/root-crate-path/ |
| H A D | Cargo.toml | 5 name = "root-crate-path" 9 tonic = {path = "../../tonic"} 12 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/deprecated_methods/tests/ |
| H A D | deprecated_methods.rs | 1 use std::{fs, path::PathBuf}; 5 let path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("test.rs"); in test() localVariable 6 let s = fs::read_to_string(path) in test()
|
| /tonic/interop/ |
| H A D | Cargo.toml | 9 path = "src/bin/client.rs" 13 path = "src/bin/server.rs" 27 tonic = {path = "../tonic", features = ["tls-ring"]} 32 tonic-build = {path = "../tonic-build", features = ["prost"]}
|
| /tonic/tests/disable_comments/tests/ |
| H A D | disable_comments.rs | 1 use std::{fs, path::PathBuf}; 5 let path = PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("test.rs"); in test() localVariable 6 let s = fs::read_to_string(path).unwrap(); in test()
|
| /tonic/tests/extern_path/my_application/ |
| H A D | Cargo.toml | 11 tonic = {path = "../../../tonic"} 12 uuid = {package = "uuid1", path = "../uuid"} 15 tonic-build = {path = "../../../tonic-build"}
|
| /tonic/tests/web/ |
| H A D | Cargo.toml | 17 tonic = { path = "../../tonic" } 20 tonic-web = { path = "../../tonic-web" } 23 tonic-build = { path = "../../tonic-build" }
|
| /tonic/examples/src/uds/ |
| H A D | server.rs | 3 use std::path::Path; 46 let path = "/tmp/tonic/helloworld"; in main() localVariable 48 std::fs::create_dir_all(Path::new(path).parent().unwrap())?; in main() 52 let uds = UnixListener::bind(path)?; in main()
|
| /tonic/tonic/src/client/ |
| H A D | grpc.rs | 210 path: PathAndQuery, in unary() 222 self.client_streaming(request, path, codec).await in unary() 229 path: PathAndQuery, in client_streaming() 242 self.streaming(request, path, codec).await?.into_parts(); in client_streaming() 266 path: PathAndQuery, in server_streaming() 278 self.streaming(request, path, codec).await in server_streaming() 285 path: PathAndQuery, in streaming() 308 let request = self.config.prepare_request(request, path); in streaming() 372 fn prepare_request(&self, request: Request<Body>, path: PathAndQuery) -> http::Request<Body> { in prepare_request() 378 format!("{}{}", pnq.path(), path) in prepare_request() [all …]
|
| /tonic/tests/service_named_result/ |
| H A D | Cargo.toml | 9 tonic = {path = "../../tonic"} 12 tonic-build = {path = "../../tonic-build"}
|
| /tonic/examples/proto/googleapis/google/api/ |
| H A D | http.proto | 61 // Each mapping specifies a URL path template and an HTTP method. The path 65 // the URL path. 77 // string name = 1; // Mapped to URL path. 104 // string message_id = 1; // Mapped to URL path. 177 // have HTTP parameters, as all fields not bound by the path end in 212 // - Fields referred by the path template. They are passed via the URL path. 220 // are passed via URL path and HTTP request body. 222 // fields are passed via URL path and URL query parameters. 234 // zero or more URL path segments, which must be the last part of the URL path 373 // The path matched by this custom verb. [all …]
|
| /tonic/tests/use_arc_self/ |
| H A D | Cargo.toml | 10 tonic = {path = "../../tonic", features = ["gzip"]} 13 tonic-build = {path = "../../tonic-build" }
|
| /tonic/tests/deprecated_methods/ |
| H A D | Cargo.toml | 10 tonic = { path = "../../tonic" } 14 tonic-build = { path = "../../tonic-build" }
|
| /tonic/tests/stream_conflict/ |
| H A D | Cargo.toml | 11 tonic = { path = "../../tonic" } 14 tonic-build = { path = "../../tonic-build" }
|
| /tonic/tests/service_named_service/ |
| H A D | Cargo.toml | 11 tonic = {path = "../../tonic"} 14 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/skip_debug/ |
| H A D | Cargo.toml | 11 tonic = { path = "../../tonic" } 14 tonic-build = { path = "../../tonic-build" }
|
| /tonic/tests/ambiguous_methods/ |
| H A D | Cargo.toml | 11 tonic = {path = "../../tonic"} 14 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/included_service/ |
| H A D | Cargo.toml | 11 tonic = {path = "../../tonic"} 14 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/same_name/ |
| H A D | Cargo.toml | 11 tonic = {path = "../../tonic"} 14 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/wellknown/ |
| H A D | Cargo.toml | 12 tonic = {path = "../../tonic"} 15 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/disable_comments/ |
| H A D | Cargo.toml | 11 tonic = { path = "../../tonic" } 15 tonic-build = { path = "../../tonic-build" }
|