Stops the DNS proxy.
- iOS 11.0+
- macOS 10.15+Beta
- UIKit for Mac 13.0+Beta
A code indicating why the proxy is being stopped.
A block that must be called when the proxy is completely stopped.
NEDNSProxy must override this method to perform whatever steps are necessary to stop the proxy.
The system calls this method to stop the proxy. You indicate that the proxy is fully stopped by calling the completion handler.