Juan Alvarez
Juan Alvarez
Not exactly what you are after but maybe you could delegate complex logic to a function similar to the one you propose, and write most of your tests against that:...
An easy workaround is to use a concrete type instead of the type parameter. Currently, I believe the only concrete type that can be used to construct a client is...
I agree, you raise a good point. I believe there are plans (and maybe even some initial work) to provide different transports, in which case we may need to find...
@blittable you can try something like: ```rust #[tokio::main] async fn main() -> Result { let client = GreeterClient::connect("http://[::1]:50051")?; let mut futures = FuturesUnordered::new(); for _ in 0..1000_i32 { let request...
Hi @shadowmint Enabling CORS is not enough for Tonic's transport to handle grpc-web requests, since the protocol is different. We either need a proxy to translate requests/responses to/from `grpc` and...
@zancas Not mine. The implementation I am using only handles grpc-web+proto unary calls. It works for me for now but publishing it would probably do more harm than good for...
As far as I understand, there are at least two things to consider: * Stabilization of the `Stream` trait in std. It looks like the trait will include the `next`...