mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 17:57:22 +08:00
21 lines
551 B
Objective-C
21 lines
551 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(void);
|
|
|
|
/**
|
|
* Set the global value for credential persistence to use during HTTP AUTH
|
|
*/
|
|
void RKNetworkSetGlobalCredentialPersistence(NSURLCredentialPersistence persistence);
|