Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 13 of 13) sorted by relevance

/tonic/tonic-build/src/
H A Dcode_gen.rs26 pub fn emit_package(&mut self, enable: bool) -> &mut Self { in emit_package()
27 self.emit_package = enable; in emit_package()
51 pub fn compile_well_known_types(&mut self, enable: bool) -> &mut Self { in compile_well_known_types()
52 self.compile_well_known_types = enable; in compile_well_known_types()
63 pub fn use_arc_self(&mut self, enable: bool) -> &mut Self { in use_arc_self()
64 self.use_arc_self = enable; in use_arc_self()
H A Dprost.rs321 pub fn build_client(mut self, enable: bool) -> Self { in build_client()
322 self.build_client = enable; in build_client()
327 pub fn build_server(mut self, enable: bool) -> Self { in build_server()
328 self.build_server = enable; in build_server()
336 pub fn build_transport(mut self, enable: bool) -> Self { in build_transport()
337 self.build_transport = enable; in build_transport()
525 pub fn use_arc_self(mut self, enable: bool) -> Self { in use_arc_self()
526 self.use_arc_self = enable; in use_arc_self()
571 pub fn emit_rerun_if_changed(mut self, enable: bool) -> Self { in emit_rerun_if_changed()
572 self.emit_rerun_if_changed = enable; in emit_rerun_if_changed()
[all …]
H A Dmanual.rs444 pub fn build_client(mut self, enable: bool) -> Self { in build_client()
445 self.build_client = enable; in build_client()
452 pub fn build_server(mut self, enable: bool) -> Self { in build_server()
453 self.build_server = enable; in build_server()
461 pub fn build_transport(mut self, enable: bool) -> Self { in build_transport()
462 self.build_transport = enable; in build_transport()
H A Dserver.rs63 self.accept_compression_encodings.enable(encoding); in generate_internal()
70 self.send_compression_encodings.enable(encoding); in generate_internal()
/tonic/tonic-web/src/
H A Dservice.rs276 fn enable<S>(service: S) -> tower_http::cors::Cors<GrpcWebService<S>> in enable() function
302 let mut svc = enable(Svc); in default_cors_config()
318 let mut svc = enable(Svc); in without_origin()
330 let mut svc = enable(Svc); in only_post_and_options_allowed()
355 let mut svc = enable(Svc); in grpc_web_content_types()
384 let mut svc = enable(Svc); in valid_grpc_web_preflight()
404 let mut svc = enable(Svc); in h2_is_ok()
414 let mut svc = enable(Svc); in h1_is_err()
427 let mut svc = enable(Svc); in content_type_variants()
455 let mut svc = enable(Svc); in h1_is_err()
[all …]
/tonic/tonic/src/server/
H A Dgrpc.rs89 self.accept_compression_encodings.enable(encoding); in accept_compressed()
120 self.send_compression_encodings.enable(encoding); in send_compressed()
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs286 self.accept_compression_encodings.enable(encoding); in accept_compressed()
292 self.send_compression_encodings.enable(encoding); in send_compressed()
/tonic/tonic-reflection/src/generated/
H A Dgrpc_reflection_v1.rs327 self.accept_compression_encodings.enable(encoding); in accept_compressed()
333 self.send_compression_encodings.enable(encoding); in send_compressed()
H A Dgrpc_reflection_v1alpha.rs327 self.accept_compression_encodings.enable(encoding); in accept_compressed()
333 self.send_compression_encodings.enable(encoding); in send_compressed()
/tonic/tonic/src/codec/
H A Dcompression.rs26 pub fn enable(&mut self, encoding: CompressionEncoding) { in enable() method
/tonic/tonic/src/client/
H A Dgrpc.rs130 self.config.accept_compression_encodings.enable(encoding); in accept_compressed()
/tonic/examples/proto/googleapis/google/api/
H A Dresource.proto182 // Note: This is used by the API linter (linter.aip.dev) to enable
/tonic/
H A DCHANGELOG.md26 * **channel:** Re-enable TLS based on Cargo features in generated clients (#1866)
151 * **web:** Fix `enable` and update docs ([#1326](https://github.com/hyperium/tonic/issues/1326)) ([…
250 * don't enable default features in tower ([#972](https://github.com/hyperium/tonic/issues/972)) ([b…