In the transparent app proxy once i get called at handleNewFlow. then i call openWithLocalEndpoint
i have few questions:
- thereafter do i have to keep calling send, receive just like normal socket program?
- if yes, which apis are to be used ?
- how is the function readDataWithCompletionHandler used in this context ?
this is as good as implementing a complete proxy .
is my above understanding right ?
i have a simple use case is of redirecting all the http traffic to my local application (different then the system extension) which will act like a proxy. is it possible to redirect this flow transparently to my application proxy running on localhost ?