mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-03 17:55:10 +08:00
* Removed RestKit from inheritance hierarchy * Mappings are implemented as concrete classes * Mapper is much more flexible & powerful * Much more robust error handling * Serialization is reimplemented as an object mapping operation * Added ability to serialize to JSON natively * Reworked Core Data integration * Simplified the codebase substantially
21 lines
547 B
Objective-C
21 lines
547 B
Objective-C
//
|
|
// RKNetwork.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 3/28/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
* Returns the global value for credential persistence to use during HTTP AUTH
|
|
* Defaults to NSURLCredentialPersistenceForSession
|
|
*/
|
|
NSURLCredentialPersistence RKNetworkGetGlobalCredentialPersistence();
|
|
|
|
/**
|
|
* Set the global value for credential persistence to use during HTTP AUTH
|
|
*/
|
|
void RKNetworkSetGlobalCredentialPersistence(NSURLCredentialPersistence persistence);
|