Home
last modified time | relevance | path

Searched refs:remote_addr (Results 1 – 20 of 20) sorted by relevance

/tonic/tonic/src/transport/server/
H A Dconn.rs73 pub remote_addr: Option<SocketAddr>, field
83 pub fn remote_addr(&self) -> Option<SocketAddr> { in remote_addr() method
84 self.remote_addr in remote_addr()
94 remote_addr: self.peer_addr().ok(), in connect_info()
/tonic/examples/src/cancellation/
H A Dserver.rs26 let remote_addr = request.remote_addr(); in say_hello() localVariable
28 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
40 println!("Request from {:?} cancelled by client", remote_addr); in say_hello()
/tonic/examples/src/dynamic/
H A Dserver.rs26 println!("Got an echo request from {:?}", request.remote_addr()); in unary_echo()
52 println!("Got a greet request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/codec_buffers/
H A Dserver.rs29 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/helloworld/
H A Dserver.rs19 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/json-codec/
H A Dserver.rs26 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/compression/
H A Dserver.rs20 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/reflection/
H A Dserver.rs20 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/tests/integration_tests/tests/
H A Dconnect_info.rs20 assert!(req.remote_addr().is_some()); in getting_connect_info()
87 assert!(req.remote_addr().is_none()); in unary_call()
/tonic/examples/src/grpc-web/
H A Dserver.rs19 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/autoreload/
H A Dserver.rs19 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/richer-error/
H A Dserver.rs20 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
H A Dserver_vec.rs20 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/tonic/src/
H A Drequest.rs237 pub fn remote_addr(&self) -> Option<SocketAddr> { in remote_addr() method
241 .and_then(|i| i.remote_addr()); in remote_addr()
247 .and_then(|i| i.get_ref().remote_addr()) in remote_addr()
/tonic/examples/src/tls/
H A Dserver.rs28 request.remote_addr(), in unary_echo()
/tonic/examples/src/health/
H A Dserver.rs21 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/tower/
H A Dserver.rs24 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/examples/src/streaming/
H A Dserver.rs51 println!("\tclient connected from: {:?}", req.remote_addr()); in server_streaming_echo()
/tonic/examples/src/h2c/
H A Dserver.rs25 println!("Got a request from {:?}", request.remote_addr()); in say_hello()
/tonic/
H A DCHANGELOG.md630 * **transport:** Add `remote_addr` to `Request` on the server si… ([#186](https://github.com/hyperi…