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

Method cipher_name

mitmproxy/connection.py:227–234  ·  view source on GitHub ↗

*Deprecated:* An outdated alias for Connection.cipher.

(self)

Source from the content-addressed store, hash-verified

225
226 @property
227 def cipher_name(self) -> str | None: # pragma: no cover
228 """*Deprecated:* An outdated alias for Connection.cipher."""
229 warnings.warn(
230 "Client.cipher_name is deprecated, use Client.cipher instead.",
231 DeprecationWarning,
232 stacklevel=2,
233 )
234 return self.cipher
235
236 @property
237 def clientcert(self) -> certs.Cert | None: # pragma: no cover

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected