Lines Matching refs:Request
8 use tonic::{metadata::MetadataValue, Code, Request, Response, Status};
22 let result = client.empty_call(Request::new(Empty {})).await; in empty_unary()
50 let result = client.unary_call(Request::new(req)).await; in large_unary()
92 let result = client.streaming_input_call(Request::new(stream)).await; in client_streaming()
119 let req = Request::new(req); in server_streaming()
158 .full_duplex_call(Request::new( in ping_pong()
211 let result = client.full_duplex_call(Request::new(stream)).await; in empty_stream()
270 let result = client.unary_call(Request::new(simple_req)).await; in status_code_and_message()
274 let result = match client.full_duplex_call(Request::new(stream)).await { in status_code_and_message()
295 let result = client.unary_call(Request::new(req)).await; in special_status_message()
317 let result = client.unimplemented_call(Request::new(Empty {})).await; in unimplemented_method()
332 let result = client.unimplemented_call(Request::new(Empty {})).await; in unimplemented_service()
355 let mut req_unary = Request::new(req); in custom_metadata()
360 let mut req_stream = Request::new(stream); in custom_metadata()