MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / address

Method address

mitmproxy/connection.py:208–215  ·  view source on GitHub ↗

*Deprecated:* An outdated alias for Client.peername.

(self)

Source from the content-addressed store, hash-verified

206
207 @property
208 def address(self): # pragma: no cover
209 """*Deprecated:* An outdated alias for Client.peername."""
210 warnings.warn(
211 "Client.address is deprecated, use Client.peername instead.",
212 DeprecationWarning,
213 stacklevel=2,
214 )
215 return self.peername
216
217 @address.setter
218 def address(self, x): # pragma: no cover

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected