Handles a new flow of DNS traffic.
- iOS 11.0+
- macOS 10.15+
- Mac Catalyst 13.0+
The flow representing the DNS traffic that the proxy should handle.
A Boolean value set to
true if the proxy implementation decides to handle the flow, or
false if it instead decides to terminate the flow.
The system calls this method to deliver a new network data flow to the proxy provider implementation. Subclasses must override this method to perform whatever steps are necessary to ready the proxy to receive data from the flow.
The proxy provider indicates that the proxy is ready to handle flow data by calling the flow's
If the proxy implementation decides to handle the flow, it is responsible for retaining a reference to the flow instance.