FBSDKURLSessionProxying.h 843 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the license found in the
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. #import <FBSDKCoreKit_Basics/FBSDKCoreKit_Basics.h>
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal type exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. NS_PROTOCOL_REQUIRES_EXPLICIT_IMPLEMENTATION
  17. NS_SWIFT_NAME(_URLSessionProxying)
  18. @protocol FBSDKURLSessionProxying
  19. @property (nullable, nonatomic, retain) NSOperationQueue *delegateQueue;
  20. - (void)executeURLRequest:(NSURLRequest *)request
  21. completionHandler:(FBSDKURLSessionTaskBlock)handler;
  22. - (void)invalidateAndCancel;
  23. @end
  24. NS_ASSUME_NONNULL_END