On 15 May 2014, at 14:15, Appa Rao Mulpuri <appar...@ivycomptech.com> wrote:
> Hi List, > > In Webkit, do we have any provision to provide application level DNS lookup > map to route the particular URLs to a IP address? > > Similar like /private/etc/hosts file, trying to maintain a map at application > level with DNS name as key and array of IP addresses, which will provide the > webpage. When ever my application trigger a request to load a embedded web > page, it would lookup at the DNS name and pick any of the responding IP > address from the map. > > Understood, this is kind of Hackers way, looking for some workable APIs. > Appreciated any third party libraries are available. WebKit uses the Cocoa URL loading system. You can register your own custom NSURLProtocol to override and handle URLs in almost any way you like. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com