We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Like this.
This is useful if the client and server are behind different firewalls.
I have checked out Server::serve_with_incoming, it required <AsyncRead + AsyncWrite>, so it might work.
pub async fn serve_with_incoming<I, IO, IE, ResBody>( self, incoming: I, ) -> Result<(), super::Error> where I: Stream<Item = Result<IO, IE>>, IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static, IO::ConnectInfo: Clone + Send + Sync + 'static, IE: Into<crate::Error>, L: Layer<Routes>, L::Service: Service<Request<Body>, Response = Response<ResBody>> + Clone + Send + 'static, <<L as Layer<Routes>>::Service as Service<Request<Body>>>::Future: Send + 'static, <<L as Layer<Routes>>::Service as Service<Request<Body>>>::Error: Into<crate::Error> + Send, ResBody: http_body::Body<Data = Bytes> + Send + 'static, ResBody::Error: Into<crate::Error>, {
But for the generated client-side it requests an Endpoint, which is linked directly to http2.
#[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let mut client = EchoClient::connect("http://[::1]:50051").await.unwrap();
Is this possible?
The text was updated successfully, but these errors were encountered:
https://github.com/Kataria86/GrpcBasedExchange/tree/master Check this out
Sorry, something went wrong.
No branches or pull requests
Like this.
This is useful if the client and server are behind different firewalls.
I have checked out Server::serve_with_incoming, it required <AsyncRead + AsyncWrite>, so it might work.
But for the generated client-side it requests an Endpoint, which is linked directly to http2.
Is this possible?
The text was updated successfully, but these errors were encountered: