mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 22:42:45 +08:00
25 lines
865 B
Objective-C
25 lines
865 B
Objective-C
//
|
|
// RKNotifications.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 9/24/09.
|
|
// Copyright 2009 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/******************
|
|
* Request Auditing
|
|
*
|
|
* RKClient exposes a set of NSNotifications that can be
|
|
* used to audit the request/response cycle of your application.
|
|
* This is useful for doing things like generating automatic logging
|
|
* for all your requests or sending the response times
|
|
*/
|
|
extern NSString* const RKRequestSentNotification;
|
|
extern NSString* const RKRequestDidLoadResponseNotification;
|
|
extern NSString* const RKRequestDidLoadResponseNotificationUserInfoResponseKey;
|
|
extern NSString* const RKRequestDidFailWithErrorNotification;
|
|
extern NSString* const RKRequestDidFailWithErrorNotificationUserInfoErrorKey;
|
|
extern NSString* const RKServiceDidBecomeUnavailableNotification;
|