mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-09 17:41:38 +08:00
20 lines
546 B
Objective-C
20 lines
546 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); |