MCPcopy Create free account
hub / github.com/HFQR/xitca-web / socket_addr

Method socket_addr

http/src/http.rs:253–255  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

251 /// [std::net::Ipv4Addr::UNSPECIFIED] is used for representing peers that can't provide it's socket address.
252 #[inline]
253 pub fn socket_addr(&self) -> &SocketAddr {
254 &self.ext.0.addr
255 }
256
257 /// exclusive version of [RequestExt::socket_addr]
258 #[inline]

Callers 3

borrowMethod · 0.45
callMethod · 0.45
from_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected