Mercurial > hg > soniczoomios
view 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 |
line wrap: on
line source
// // ServerComms.h // sonicZoom // // Created by Robert Tubb on 21/02/2013. // // #import <Foundation/Foundation.h> @interface ServerComms : NSObject <NSURLConnectionDelegate> -(void)test; -(void)postRequest:(NSString *)msgbody; - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response; - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data; - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse; @end