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

Method __repr__

mitmproxy/udp.py:28–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 self.from_client, self.content, self.timestamp = state
27
28 def __repr__(self):
29 return "{direction} {content}".format(
30 direction="->" if self.from_client else "<-", content=repr(self.content)
31 )
32
33
34class UDPFlow(flow.Flow):

Callers

nothing calls this directly

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected