7 #include <Raym/Object.h>
9 #include <Raym/URLRequest.h>
10 #include <Raym/URLResponse.h>
11 #include <Raym/Error.h>
18 class URLConnectionDelegate
21 virtual bool connectionShouldUseCredentialStorage(URLConnection *connection);
24 class URLConnection : public Object
31 static URLConnection *alloc();
32 URLConnection *initWithRequest(URLRequest *request, URLConnectionDelegate *delegate);
34 virtual const char *className();
36 static Data *sendSynchronousRequest(URLRequest *request, URLResponse **response, Error **error);