Mercurial > hg > soniczoomios
comparison 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 |
comparison
equal
deleted
inserted
replaced
28:e2c62db1e265 | 29:fabb3a5cdfc9 |
---|---|
1 // | |
2 // ServerComms.h | |
3 // sonicZoom | |
4 // | |
5 // Created by Robert Tubb on 21/02/2013. | |
6 // | |
7 // | |
8 | |
9 #import <Foundation/Foundation.h> | |
10 | |
11 @interface ServerComms : NSObject <NSURLConnectionDelegate> | |
12 -(void)test; | |
13 -(void)postRequest:(NSString *)msgbody; | |
14 | |
15 - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response; | |
16 - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data; | |
17 - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse; | |
18 @end |