lpw
2023-06-03 e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e
frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h
@@ -11,12 +11,23 @@
#import <FBSDKCoreKit/FBSDKGraphRequestConnecting.h>
#import <FBSDKCoreKit/FBSDKGraphRequestConnectionDelegate.h>
@protocol FBSDKURLSessionProxyProviding;
@protocol FBSDKErrorConfigurationProviding;
@protocol FBSDKGraphRequestPiggybackManaging;
@protocol FBSDKSettings;
@protocol FBSDKGraphRequestConnectionFactory;
@protocol FBSDKEventLogging;
@protocol FBSDKOperatingSystemVersionComparing;
@protocol FBSDKMacCatalystDetermining;
@protocol FBSDKAccessTokenProviding;
@protocol FBSDKErrorCreating;
@protocol FBSDKAuthenticationTokenProviding;
NS_ASSUME_NONNULL_BEGIN
/**
 The key in the result dictionary for requests to old versions of the Graph API
 whose response is not a JSON object.
 When a request returns a non-JSON response (such as a "true" literal), that response
 will be wrapped into a dictionary using this const as the key. This only applies for very few Graph API
@@ -33,24 +44,17 @@
 The request settings are encapsulated in a reusable <FBSDKGraphRequest> object. The
 `FBSDKGraphRequestConnection` object encapsulates the concerns of a single communication
 e.g. starting a connection, canceling a connection, or batching requests.
 */
NS_SWIFT_NAME(GraphRequestConnection)
@interface FBSDKGraphRequestConnection : NSObject <FBSDKGraphRequestConnecting>
/**
 The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds.
 */
/// The default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds.
@property (class, nonatomic, assign) NSTimeInterval defaultConnectionTimeout;
/**
 The delegate object that receives updates.
 */
/// The delegate object that receives updates.
@property (nullable, nonatomic, weak) id<FBSDKGraphRequestConnectionDelegate> delegate;
/**
 Gets or sets the timeout interval to wait for a response before giving up.
 */
/// Gets or sets the timeout interval to wait for a response before giving up.
@property (nonatomic, assign) NSTimeInterval timeout;
/**
@@ -72,13 +76,9 @@
 */
@property (nullable, nonatomic) NSOperationQueue *delegateQueue;
/**
 @methodgroup Class methods
 */
/// @methodgroup Class methods
/**
 @methodgroup Adding requests
 */
/// @methodgroup Adding requests
/**
 @method
@@ -138,9 +138,7 @@
        parameters:(nullable NSDictionary<NSString *, id> *)parameters
        completion:(FBSDKGraphRequestCompletion)completion;
/**
 @methodgroup Instance methods
 */
/// @methodgroup Instance methods
/**
 @method
@@ -182,6 +180,33 @@
 */
- (void)overrideGraphAPIVersion:(NSString *)version;
/**
 Internal method exposed to facilitate transition to Swift.
 API Subject to change or removal without warning. Do not use.
 @warning INTERNAL - DO NOT USE
 */
+ (void)setCanMakeRequests;
/**
 Internal method exposed to facilitate transition to Swift.
 API Subject to change or removal without warning. Do not use.
 @warning INTERNAL - DO NOT USE
 */
+ (void)configureWithURLSessionProxyFactory:(nonnull id<FBSDKURLSessionProxyProviding>)proxyFactory
                 errorConfigurationProvider:(nonnull id<FBSDKErrorConfigurationProviding>)errorConfigurationProvider
                           piggybackManager:(nonnull id<FBSDKGraphRequestPiggybackManaging>)piggybackManager
                                   settings:(nonnull id<FBSDKSettings>)settings
              graphRequestConnectionFactory:(nonnull id<FBSDKGraphRequestConnectionFactory>)factory
                                eventLogger:(nonnull id<FBSDKEventLogging>)eventLogger
             operatingSystemVersionComparer:(nonnull id<FBSDKOperatingSystemVersionComparing>)operatingSystemVersionComparer
                    macCatalystDeterminator:(nonnull id<FBSDKMacCatalystDetermining>)macCatalystDeterminator
                        accessTokenProvider:(nonnull Class<FBSDKAccessTokenProviding>)accessTokenProvider
                               errorFactory:(nonnull id<FBSDKErrorCreating>)errorFactory
                authenticationTokenProvider:(nonnull Class<FBSDKAuthenticationTokenProviding>)authenticationTokenProvider
NS_SWIFT_NAME(configure(urlSessionProxyFactory:errorConfigurationProvider:piggybackManager:settings:graphRequestConnectionFactory:eventLogger:operatingSystemVersionComparer:macCatalystDeterminator:accessTokenProvider:errorFactory:authenticationTokenProvider:));
@end
NS_ASSUME_NONNULL_END