In examples there is a script to save flow object as har archive. The process suggests mitmproxy daemon writing all info into flow object (-w) and then converting this flow into har archive after daemon finished working.
What i’m trying to achieve is getting requests info in real time. Like sending request through rest to daemon or connecting via socket to flow from another script (separately ran). So asking what is the best way here.