MSALHTTPConfig
Objective-C
@interface MSALHTTPConfig : NSObject
Swift
class MSALHTTPConfig : NSObject
MSAL configuration interface responsible for network configuration.
Note
Configuration changes inside MSALHTTPConfig will apply to all instances ofMSALPublicClientApplication
-
Number of retry attemps to be made in case of a network error, with error code 500 ~ 599.
Declaration
Objective-C
@property NSInteger retryCount;
Swift
var retryCount: Int { get set }
-
Time interval before retrying a request in case of retry.
Declaration
Objective-C
@property NSTimeInterval retryInterval;
Swift
var retryInterval: TimeInterval { get set }
-
The timeout interval to use when waiting for additional data. visit https://developer.apple.com/documentation/foundation/nsurlsessionconfiguration/1408153-timeoutintervalforresource?language=objc for more detail.
Declaration
Objective-C
@property NSTimeInterval timeoutIntervalForRequest;
Swift
var timeoutIntervalForRequest: TimeInterval { get set }