Handle a new UDP flow of network data.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
The new UDP flow.
The initial remote endpoint provided by the proxied app when the flow was opened.
The framework calls this function to deliver a new UDP data flow to the proxy provider implementation. Subclasses can override this method to perform whatever steps are necessary to ready the proxy to receive data from the flow.
Your implementation indicates that it’s ready to handle flow data by calling
open(with on the flow.
If you decide to not handle the flow and instead terminate it, your implementation of this method should return
false. This terminates the flow.
The default implementation of this method calls
handle and returns its result.