Lines Matching refs:Request
11 use tonic::{body::Body, server::NamedService, Code, Request, Response, Status};
21 type Streaming<T> = Request<tonic::Streaming<T>>;
27 async fn empty_call(&self, _request: Request<Empty>) -> Result<Empty> { in empty_call()
31 async fn unary_call(&self, request: Request<SimpleRequest>) -> Result<SimpleResponse> { in unary_call()
57 async fn cacheable_unary_call(&self, _: Request<SimpleRequest>) -> Result<SimpleResponse> { in cacheable_unary_call()
65 req: Request<StreamingOutputCallRequest>, in streaming_output_call()
153 async fn unimplemented_call(&self, _: Request<Empty>) -> Result<Empty> { in unimplemented_call()
163 async fn unimplemented_call(&self, _req: Request<Empty>) -> Result<Empty> { in unimplemented_call()
183 impl<S> Service<http::Request<Body>> for EchoHeadersSvc<S>
185 S: Service<http::Request<Body>, Response = http::Response<Body>> + Send,
196 fn call(&mut self, req: http::Request<Body>) -> Self::Future { in call()