Skip to content

Instantly share code, notes, and snippets.

@couchdeveloper
couchdeveloper / SimpleGetHTTPRequest.h
Last active December 18, 2015 09:58
SimpleGetHTTPRequest This is a simple Objective-C class which wraps a `NSURLConnection` and relevant state information. It's meant to give an idea how one can implement a more "real" and more versatile connection class. It's deliberately kept simple.
//
// SimpleGetHTTPRequest.h
//
#import <Foundation/Foundation.h>
typedef void (^completionHandler_t) (id result);