Referencing a flow within a connection event #6710
Replies: 3 comments
-
Would it be better to access the remote IP address value from the flow detail view instead? I can't seem to find anything in the documentation to access that property. |
Beta Was this translation helpful? Give feedback.
-
The easiest way forward here is probably to inspect Alternatively you could work with a WeakKeyDict mapping server connection objects to flows, but from what you mentioned that sounds like unnecessary complexity here. Footnotes
|
Beta Was this translation helpful? Give feedback.
-
Thanks @mhils, this is what I was looking for. |
Beta Was this translation helpful? Give feedback.
-
I'm using a connection event to get the IP address of the remote server (data.server.peername). I would like to mark the corresponding flow in the UI but I don't know how to reference the flow within the def server_connected function since it does not seem to accept flow as a parameter.
Addon error: fiddleitm.server_connected() missing 1 required positional argument: 'flow'
Beta Was this translation helpful? Give feedback.
All reactions