/// Create an asynchronized duplex streaming call.
///
/// Client sends a stream of requests and server responds with a stream of responses.
/// The response stream is completely independent and both side can be sending messages
/// at the same time.
Create an asynchronized duplex streaming call.
Client sends a stream of requests and server responds with a stream of responses.
The response stream is completely independent and both side can be sending messages
at the same time.
Create an asynchronized duplex streaming call . Client sends a stream of requests and server responds with a stream of responses . The response stream is completely independent and both side can be sending messages at the same time .
pub fn duplex_streaming<Req, Resp>(
        &self,
        method: &Method<Req, Resp>,
        opt: CallOption,
    ) -> Result<(ClientDuplexSender<Req>, ClientDuplexReceiver<Resp>)> {
        Call::duplex_streaming(&self.channel, method, opt)
    }
pub fn duplex_streaming < Req , Resp > ( & self , method : & Method < Req , Resp > , opt : CallOption , ) -> Result < ( ClientDuplexSender < Req > , ClientDuplexReceiver < Resp > ) > { Call :: duplex_streaming ( & self . channel , method , opt ) }
Create an asynchronized duplex streaming call.
Create an asynchronized duplex streaming call .
&self
method
&Method<Req, Resp>
opt
CallOption