Mercurial > hg > soniczoomios
annotate ServerComms.h @ 29:fabb3a5cdfc9
Timed session improvements. Desperate pathetic attempts to send a simple HTTP POST.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 22 Feb 2013 17:41:38 +0000 |
parents | |
children | c0a6f7c66719 |
rev | line source |
---|---|
rt300@29 | 1 // |
rt300@29 | 2 // ServerComms.h |
rt300@29 | 3 // sonicZoom |
rt300@29 | 4 // |
rt300@29 | 5 // Created by Robert Tubb on 21/02/2013. |
rt300@29 | 6 // |
rt300@29 | 7 // |
rt300@29 | 8 |
rt300@29 | 9 #import <Foundation/Foundation.h> |
rt300@29 | 10 |
rt300@29 | 11 @interface ServerComms : NSObject <NSURLConnectionDelegate> |
rt300@29 | 12 -(void)test; |
rt300@29 | 13 -(void)postRequest:(NSString *)msgbody; |
rt300@29 | 14 |
rt300@29 | 15 - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response; |
rt300@29 | 16 - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data; |
rt300@29 | 17 - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse; |
rt300@29 | 18 @end |