Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rothomp3/7253630 to your computer and use it in GitHub Desktop.
Save rothomp3/7253630 to your computer and use it in GitHub Desktop.
header for afhttp thing
//
// AFHTTPRequestOperation+MTSynchronousRequest.h
// MTSyncAFNetworking
//
// Created by Robert Thompson on 10/10/13.
// Copyright (c) 2013 WillowTree Apps. All rights reserved.
//
#import "AFHTTPRequestOperation.h"
@interface AFHTTPRequestOperation (MTSynchronousRequest)
+ (id)sendSynchronousRequest:(NSURLRequest*)request withResponseSerializer:(AFHTTPResponseSerializer*)responseSerializer error:(NSError**)error;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment