New class for synchronous URL loading?
New class for synchronous URL loading?
- Subject: New class for synchronous URL loading?
- From: Jerry Krinock <email@hidden>
- Date: Sun, 6 Jul 2008 20:07:45 -0700
I built my own class a couple years ago for loading URLs
synchronously. The interface is one class method. Basically, you give
it a URL and some stuff, and it goes off and either times out or
returns data. Synopsis:
int result = [SSSynchronousHTTP SSSynchronousHTTPURL:url
httpMethod:@"POST"
bodyString:txString
username:nil
password:nil
timeout:20.0
userAgent:nil
alertOption:alertOption
hdlResponse:response
hdlResponseData:responseData
hdlError:error] ;
I thought I'd read somewhere that Apple had introduced a new class in
Leopard which did something like this, but now I can't find it. Was I
dreaming?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden