Home
last modified time | relevance | path

Searched refs:config (Results 1 – 11 of 11) sorted by relevance

/tonic/tonic/src/client/
H A Dgrpc.rs34 config: GrpcConfig, field
62 config: GrpcConfig { in with_origin()
303 self.config.max_encoding_message_size, in streaming()
335 self.config.accept_compression_encodings, in create_response()
360 self.config.max_decoding_message_size, in create_response()
433 config: GrpcConfig { in clone()
434 origin: self.config.origin.clone(), in clone()
448 .field("origin", &self.config.origin) in fmt()
451 &self.config.send_compression_encodings, in fmt()
459 &self.config.max_decoding_message_size, in fmt()
[all …]
/tonic/tests/wellknown-compiled/
H A Dbuild.rs2 let mut config = prost_build::Config::new(); in main() localVariable
3 config.extern_path(".google.protobuf.Empty", "()"); in main()
8 config, in main()
/tonic/tests/disable_comments/
H A Dbuild.rs2 let mut config = prost_build::Config::default(); in main() localVariable
3 config.disable_comments(["test.Input1", "test.Output1"]); in main()
9 .compile_protos_with_config(config, &["proto/test.proto"], &["proto"]) in main()
/tonic/tonic/src/transport/channel/
H A Dtls.rs116 let config = ClientTlsConfig::new(); in with_enabled_roots() localVariable
118 let config = config.with_native_roots(); in with_enabled_roots() localVariable
120 let config = config.with_webpki_roots(); in with_enabled_roots() localVariable
121 config in with_enabled_roots()
/tonic/tonic-build/src/
H A Dprost.rs616 mut config: Config, in compile_protos_with_config()
633 self.setup_config(&mut config); in compile_protos_with_config()
645 mut config: Config, in compile_fds_with_config()
649 config.compile_fds(fds) in compile_fds_with_config()
654 config.out_dir(out_dir); in setup_config()
660 config.skip_protoc_run(); in setup_config()
678 config.boxed(prost_path); in setup_config()
681 config.btree_map(paths); in setup_config()
684 config.bytes(paths); in setup_config()
690 config.include_file(path); in setup_config()
[all …]
/tonic/tonic/src/transport/server/service/
H A Dtls.rs46 let mut config = builder.with_single_cert(cert, key)?; in new() localVariable
47 config.ignore_client_order = ignore_client_order; in new()
50 config.key_log = Arc::new(tokio_rustls::rustls::KeyLogFile::new()); in new()
53 config.alpn_protocols.push(ALPN_H2.into()); in new()
55 inner: Arc::new(config), in new()
/tonic/tonic/src/transport/channel/service/
H A Dtls.rs23 config: Arc<ClientConfig>, field
84 let mut config = match identity { in new() localVariable
93 config.key_log = Arc::new(tokio_rustls::rustls::KeyLogFile::new()); in new()
96 config.alpn_protocols.push(ALPN_H2.into()); in new()
98 config: Arc::new(config), in new()
108 let io = RustlsConnector::from(self.config.clone()) in connect()
/tonic/examples/proto/googleapis/google/api/
H A Dresource.proto49 // protobuf annotation or use in the service config), and associates the
68 // The ResourceDescriptor Yaml config will look like:
108 // The ResourceDescriptor Yaml config will look like:
145 // The ResourceDescriptor Yaml config will look like:
H A Dhttp.proto265 // gRPC API Service Configuration (service config) is a configuration language
267 // service config is simply the YAML representation of the `google.api.Service`
271 // transcoding in your service config YAML files. You do this by specifying a
275 // specified in the service config will override any matching transcoding
/tonic/tonic-build/
H A DREADME.md94 config a mod like this:
/tonic/
H A DCHANGELOG.md556 * **build:** Add support for custom prost config ([#318](https://github.com/hyperium/tonic/issues/3…
591 * **build:** Add extern_path config support ([#223](https://github.com/hyperium/tonic/issues/223)) …
622 * **transport:** Remove with_rustls for tls config ([#188](https://github.com/hyperium/tonic/issues…
678 * **transport:** Rename server tls config method ([#73](https://github.com/hyperium/tonic/issues/73…