Home
last modified time | relevance | path

Searched refs:tonic (Results 1 – 25 of 163) sorted by relevance

1234567

/tonic/
H A DCHANGELOG.md67 …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 DREADME.md1 ![](https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-banner.svg?sanitize=true)
8 [![Crates.io](https://img.shields.io/crates/v/tonic)](https://crates.io/crates/tonic)
9 [![Documentation](https://docs.rs/tonic/badge.svg)](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 DCargo.toml3 "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 Dgrpc_health_v1.rs67 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 Dhelloworld.rs16 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 Dserver.rs107 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 Dclient.rs56 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 Dgrpc_reflection_v1.rs156 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 Dgrpc_reflection_v1alpha.rs156 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 DCargo.toml8 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 DREADME.md1 # 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 DCargo.toml17 tonic = { path = "../../tonic" }
20 tonic-web = { path = "../../tonic-web" }
23 tonic-build = { path = "../../tonic-build" }
/tonic/tonic-reflection/
H A DCargo.toml8 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 Dclient.rs4 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 DCargo.toml5 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 DREADME.md1 # 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 DCargo.toml5 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 DCargo.toml9 tonic = {path = "../../tonic"}
12 tonic-build = {path = "../../tonic-build"}
/tonic/tests/service_named_result/
H A DCargo.toml9 tonic = {path = "../../tonic"}
12 tonic-build = {path = "../../tonic-build"}
/tonic/examples/src/interceptor/
H A Dclient.rs3 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 DCargo.toml10 tonic = {path = "../../tonic", features = ["gzip"]}
13 tonic-build = {path = "../../tonic-build" }
/tonic/examples/src/multiplex/
H A Dclient.rs2 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 DCargo.toml10 tonic = { path = "../../tonic" }
14 tonic-build = { path = "../../tonic-build" }
/tonic/tests/stream_conflict/
H A DCargo.toml11 tonic = { path = "../../tonic" }
14 tonic-build = { path = "../../tonic-build" }
/tonic/tests/service_named_service/
H A DCargo.toml11 tonic = {path = "../../tonic"}
14 tonic-build = {path = "../../tonic-build"}

1234567