Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionStatsReaderAdapter ¶
type ConnectionStatsReaderAdapter interface { GetClientIP() string GetProxyID() string GetRequestURL() string }
ConnectionStatsReaderAdapter is an interface for reading connection stats data from any proxy connection stats object that has been abstracted by this interface. Connection stats are information about the connection between the client and the proxy.
type FlowReaderAdapter ¶
type FlowReaderAdapter interface { GetRequest() RequestReaderAdapter GetResponse() ResponseReaderAdapter GetConnectionStats() ConnectionStatsReaderAdapter }
FlowReaderAdapter is an interface for reading flow data from any proxy flow object that has been abstracted by this interface. A flow is a collection of data about a single request, response, and connection stats.
This interface is the first step in replacing the mitmproxy-specific flow object with a more generic flow object that can be used with any proxy library.
Click to show internal directories.
Click to hide internal directories.