forked from iridia/IRWebAPIKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIRWebAPIKitDefines.h
More file actions
23 lines (20 loc) · 1 KB
/
IRWebAPIKitDefines.h
File metadata and controls
23 lines (20 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// IRWebAPIKitDefines.h
// IRWebAPIKit
//
// Created by Evadne Wu on 1/23/11.
// Copyright 2011 Iridia Productions. All rights reserved.
//
#import <Foundation/Foundation.h>
@class IRWebAPIEngine;
@class IRWebAPIEngineContext;
@class IRWebAPIAuthenticator;
@class IRWebAPIInterface;
@class IRWebAPIRequestContext;
typedef NSDictionary * (^IRWebAPIResponseParser) (NSData *inData);
typedef IRWebAPIRequestContext * (^IRWebAPIRequestContextTransformer) (IRWebAPIRequestContext *context);
typedef NSDictionary * (^IRWebAPIResponseContextTransformer) (NSDictionary *inParsedResponse, IRWebAPIRequestContext *inResponseContext);
typedef BOOL (^IRWebAPIResponseValidator) (NSDictionary *inResponseOrNil, IRWebAPIRequestContext *inResponseContext);
typedef void (^IRWebAPICallback) (NSDictionary *response, IRWebAPIRequestContext *context);
typedef void (^IRWebAPIAuthenticatorCallback) (IRWebAPIAuthenticator *inAuthenticator, BOOL isAuthenticated);
typedef void (^IRWebAPIInterfaceCallback) (NSDictionary *inResponseOrNil);