| /tonic/ |
| H A D | CHANGELOG.md | 67 …tonic:** flush accumulated ready messages when status received ([#1756](https://github.com/hyperiu… 89 `tonic::server::NamedService`. 280 * **tonic:** Expose h2 error instead of reason ([#883](https://github.com/hyperium/tonic/issues/883… 281 * **tonic:** Preserve HTTP method in interceptor ([#912](https://github.com/hyperium/tonic/issues/9… 286 …*web:** Fix error tonic-web doc url ([#928](https://github.com/hyperium/tonic/issues/928)) ([37cd4… 361 * **tonic:** add `Interceptor` trait ([#713](https://github.com/hyperium/tonic/issues/713)) ([8c8f4… 377 * **tonic:** make `Interceptor` `UnwindSafe` ([#641](https://github.com/hyperium/tonic/issues/641))… 408 * **tonic:** Add `Request::set_timeout` ([#615](https://github.com/hyperium/tonic/issues/615)) ([da… 440 …tonic/issues/554)) ([ca3b9a1](https://github.com/hyperium/tonic/commit/ca3b9a1df12f32a425926a6cd7d… 517 … **types:** Add `tonic-types` crate ([#391](https://github.com/hyperium/tonic/issues/391)) ([ea7fe… [all …]
|
| H A D | README.md | 1  8 [](https://crates.io/crates/tonic) 9 [](https://docs.rs/tonic) 44 `tonic`'s MSRV is `1.75`. 69 - [`tonic-reflection`]: A tonic based gRPC reflection implementation. 93 [`tonic`]: ./tonic 94 [`tonic-build`]: ./tonic-build 95 [`tonic-types`]: ./tonic-types 96 [`tonic-health`]: ./tonic-health 97 [`tonic-reflection`]: ./tonic-reflection [all …]
|
| H A D | Cargo.toml | 3 "tonic", 4 "tonic-build", 5 "tonic-health", 6 "tonic-types", 7 "tonic-reflection", 8 "tonic-web", # Non-published crates
|
| /tonic/tonic-health/src/generated/ |
| H A D | grpc_health_v1.rs | 67 use tonic::codegen::*; 68 use tonic::codegen::http::Uri; 71 inner: tonic::client::Grpc<T>, 75 T: tonic::client::GrpcService<tonic::body::Body>, 98 <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody, in with_interceptor() 145 tonic::Status, in check() 183 tonic::Response<tonic::codec::Streaming<super::HealthCheckResponse>>, in watch() 184 tonic::Status, in watch() 214 use tonic::codegen::*; 225 tonic::Status, in check() [all …]
|
| /tonic/tonic/benches-disabled/benchmarks/compiled_protos/ |
| H A D | helloworld.rs | 16 use tonic::codegen::*; 19 inner: tonic::client::Grpc<T>, 21 impl GreeterClient<tonic::transport::Channel> { 25 D: TryInto<tonic::transport::Endpoint>, in connect() 34 T: tonic::client::GrpcService<tonic::body::BoxBody>, 47 tonic::Status::new( in ready() 48 tonic::Code::Unknown, in ready() 57 ) -> Result<tonic::Response<super::HelloReply>, tonic::Status> { in say_hello() 75 use tonic::codegen::*; 83 ) -> Result<tonic::Response<super::HelloReply>, tonic::Status> { in say_hello() [all …]
|
| /tonic/tonic-build/src/ |
| H A D | server.rs | 107 use tonic::codegen::*; in generate_internal() 269 -> std::result::Result<tonic::Response<#res_message>, tonic::Status> { in generate_trait_methods() 278 -> std::result::Result<tonic::Response<#res_message>, tonic::Status>; in generate_trait_methods() 285 -> std::result::Result<tonic::Response<#res_message>, tonic::Status> { in generate_trait_methods() 294 -> std::result::Result<tonic::Response<#res_message>, tonic::Status>; in generate_trait_methods() 319 -> std::result::Result<tonic::Response<Self::#stream>, tonic::Status>; in generate_trait_methods() 344 -> std::result::Result<tonic::Response<Self::#stream>, tonic::Status>; in generate_trait_methods() 461 type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>; in generate_unary() 528 type Future = BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>; in generate_server_streaming() 586 type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>; in generate_client_streaming() [all …]
|
| H A D | client.rs | 56 use tonic::codegen::*; in generate_internal() 57 use tonic::codegen::http::Uri; in generate_internal() 63 inner: tonic::client::Grpc<T>, in generate_internal() 70 T: tonic::client::GrpcService<tonic::body::Body>, in generate_internal() 87 F: tonic::service::Interceptor, in generate_internal() 89 T: tonic::codegen::Service< in generate_internal() 91 … Response = http::Response<<T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody> in generate_internal() 239 ) -> std::result::Result<tonic::Response<#response>, tonic::Status> { in generate_unary() 270 … ) -> std::result::Result<tonic::Response<tonic::codec::Streaming<#response>>, tonic::Status> { in generate_server_streaming() 301 ) -> std::result::Result<tonic::Response<#response>, tonic::Status> { in generate_client_streaming() [all …]
|
| /tonic/tonic-reflection/src/generated/ |
| H A D | grpc_reflection_v1.rs | 156 use tonic::codegen::*; 157 use tonic::codegen::http::Uri; 160 inner: tonic::client::Grpc<T>, 164 T: tonic::client::GrpcService<tonic::body::Body>, 187 <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody, in with_interceptor() 235 tonic::Response<tonic::codec::Streaming<super::ServerReflectionResponse>>, in server_reflection_info() 236 tonic::Status, in server_reflection_info() 271 use tonic::codegen::*; 279 tonic::Status, 288 request: tonic::Request<tonic::Streaming<super::ServerReflectionRequest>>, in server_reflection_info() [all …]
|
| H A D | grpc_reflection_v1alpha.rs | 156 use tonic::codegen::*; 157 use tonic::codegen::http::Uri; 160 inner: tonic::client::Grpc<T>, 164 T: tonic::client::GrpcService<tonic::body::Body>, 187 <T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody, in with_interceptor() 235 tonic::Response<tonic::codec::Streaming<super::ServerReflectionResponse>>, in server_reflection_info() 236 tonic::Status, in server_reflection_info() 271 use tonic::codegen::*; 279 tonic::Status, 288 request: tonic::Request<tonic::Streaming<super::ServerReflectionRequest>>, in server_reflection_info() [all …]
|
| /tonic/tonic-types/ |
| H A D | Cargo.toml | 8 A collection of useful protobuf types that can be used with `tonic`. 10 documentation = "https://docs.rs/tonic-types/0.13.0" 12 homepage = "https://github.com/hyperium/tonic" 15 name = "tonic-types" 17 repository = "https://github.com/hyperium/tonic" 24 tonic = { version = "0.13.0", path = "../tonic", default-features = false } 31 "tonic::*",
|
| H A D | README.md | 1 # tonic-types 3 A collection of useful protobuf types that can be used with `tonic`. 7 with [`tonic`] in a convenient way. 17 [`tonic::Status`] that can be used by a tonic client to extract error details, 29 use tonic::{Code, Status}; 75 use tonic::{Response, Status}; 107 ## Alternative `tonic::Status` associated functions and methods 122 [`tonic::Status`]. 124 [`tonic::Status`]: https://docs.rs/tonic/latest/tonic/struct.Status.html 125 [`tonic`]: https://docs.rs/tonic/latest/tonic/ [all …]
|
| /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/tonic-reflection/ |
| H A D | Cargo.toml | 8 Server Reflection module of `tonic` gRPC implementation. 11 homepage = "https://github.com/hyperium/tonic" 12 documentation = "https://docs.rs/tonic-reflection/0.13.0" 15 name = "tonic-reflection" 17 repository = "https://github.com/hyperium/tonic" 34 tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "… 38 tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["transport"]… 45 "tonic::*",
|
| /tonic/examples/src/blocking/ |
| H A D | client.rs | 4 tonic::include_proto!("helloworld"); 17 client: GreeterClient<tonic::transport::Channel>, 22 pub fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error> in connect() 24 D: TryInto<tonic::transport::Endpoint>, in connect() 35 request: impl tonic::IntoRequest<HelloRequest>, in say_hello() 36 ) -> Result<tonic::Response<HelloReply>, tonic::Status> { in say_hello() 44 let request = tonic::Request::new(HelloRequest { in main()
|
| /tonic/tonic-web/ |
| H A D | Cargo.toml | 5 grpc-web protocol translation for tonic services. 7 documentation = "https://docs.rs/tonic-web/0.13.0" 9 homepage = "https://github.com/hyperium/tonic" 12 name = "tonic-web" 14 repository = "https://github.com/hyperium/tonic" 25 tonic = { version = "0.13.0", path = "../tonic", default-features = false } 39 "tonic::*",
|
| H A D | README.md | 1 # tonic-web 3 Enables tonic servers to handle requests from `grpc-web` clients directly, 6 ## Enabling tonic services 8 The easiest way to get started, is to call the function with your tonic service 9 and allow the tonic server to accept HTTP/1.1 requests: 32 [example]: https://github.com/hyperium/tonic/tree/master/examples/src/grpc-web
|
| /tonic/tonic-health/ |
| H A D | Cargo.toml | 5 Health Checking module of `tonic` gRPC implementation. 7 documentation = "https://docs.rs/tonic-health/0.13.0" 9 homepage = "https://github.com/hyperium/tonic" 12 name = "tonic-health" 14 repository = "https://github.com/hyperium/tonic" 22 tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "… 33 "tonic::*",
|
| /tonic/tests/root-crate-path/ |
| H A D | Cargo.toml | 9 tonic = {path = "../../tonic"} 12 tonic-build = {path = "../../tonic-build"}
|
| /tonic/tests/service_named_result/ |
| H A D | Cargo.toml | 9 tonic = {path = "../../tonic"} 12 tonic-build = {path = "../../tonic-build"}
|
| /tonic/examples/src/interceptor/ |
| H A D | client.rs | 3 use tonic::{ 11 tonic::include_proto!("helloworld"); 22 let request = tonic::Request::new(HelloRequest { in main() 46 fn call(&mut self, request: tonic::Request<()>) -> Result<tonic::Request<()>, Status> { in call() 72 InterceptedService<Channel, fn(tonic::Request<()>) -> Result<tonic::Request<()>, Status>>, in using_function_pointer_interceptro()
|
| /tonic/tests/use_arc_self/ |
| H A D | Cargo.toml | 10 tonic = {path = "../../tonic", features = ["gzip"]} 13 tonic-build = {path = "../../tonic-build" }
|
| /tonic/examples/src/multiplex/ |
| H A D | client.rs | 2 tonic::include_proto!("helloworld"); 6 tonic::include_proto!("grpc.examples.unaryecho"); 11 use tonic::transport::Endpoint; 22 let request = tonic::Request::new(HelloRequest { in main() 30 let request = tonic::Request::new(EchoRequest { in main()
|
| /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"}
|