pub fn create_request<T>(data: T) -> (OutboundRequest, ResponseFuture<T>)where
T: ServiceRequest,Expand description
Creates an RPC request and returns a tuple of the request and a response
future. The request is intended to be used with
[ClientStream][crate::client::ClientStream].