URL and Proxy
URL and Proxy
Hi all
In my app I am loading an XML page from the web. This is done by
- (id) initFromXML: (NSURL*) url {
self = [super init];
NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL: url];
.
.
.
}
This worked quite well, but yesterday I tried to use my app behind a
proxy server and there nothing works. Now my question: how can I expand
this code to use a given proxy server. Preferably the proxy server is
fetched from the system default.
I have seen that there is NSURLProtectionSpace in which the proxy can
be specified, but I didn't see how to put things together.
Thanks in advance
Roman
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.