LibraryActive

mitmproxy.flow

Base class for network flows in mitmproxy, defining common attributes and serialization.

Open source page

Field note

What it does

The Flow class is the base for HTTPFlow, TCPFlow, and UDPFlow, representing a collection of objects like HTTP request/response pairs or TCP messages.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Flow Identification

Each flow has a unique ID and a type derived from the class name.

Flow Serialization

Provides get_state and set_state methods for serializing and deserializing flow objects.

Flow State

Tracks client and server connections, error, interception, marking, replay, and live status.