• Main Page
  • Classes
  • Files
  • File List
  • File Members

Source/HTTPRiot/HRResponseDelegate.h

Go to the documentation of this file.
00001 
00005 //
00006 //  HRResponseDelegate.h
00007 //  HTTPRiot
00008 //
00009 //  Created by Justin Palmer on 6/24/09.
00010 //  Copyright 2009 LabratRevenge LLC.. All rights reserved.
00011 //
00012 
00018 @protocol HRResponseDelegate <NSObject>
00019 @optional
00027 - (void)restConnection:(NSURLConnection *)connection didReturnResource:(id)resource object:(id)object;
00028 
00036 - (void)restConnection:(NSURLConnection *)connection didFailWithError:(NSError *)error object:(id)object;
00037 
00045 - (void)restConnection:(NSURLConnection *)connection didReceiveResponse:(NSHTTPURLResponse *)response object:(id)object;
00046 
00055 - (void)restConnection:(NSURLConnection *)connection didReceiveError:(NSError *)error response:(NSHTTPURLResponse *)response object:(id)object;
00056 
00065 - (void)restConnection:(NSURLConnection *)connection didReceiveParseError:(NSError *)error responseBody:(NSString *)body object:(id)object;
00066 @end
  • Copyright © 2009 Justin Palmer.
  • Source/Contribute
  • Blog
  • Help/Community