#if __has_include() // CocoaPods #import #elif SWIFT_PACKAGE // SPM // The only way SPM can find BTHTTP.h is using quoted includes, // so we need to silence the warning. #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wquoted-include-in-framework-header" #import "BTHTTP.h" #pragma clang diagnostic pop #else // Carthage #import #endif NS_ASSUME_NONNULL_BEGIN @class BTHTTPResponse, BTClientToken; /** Performs HTTP methods on the Braintree Client API */ @interface BTGraphQLHTTP : BTHTTP - (void)handleRequestCompletion:(nullable NSData *)data response:(nullable NSURLResponse *)response error:(nullable NSError *)error completionBlock:(void (^)(BTJSON * _Nonnull, NSHTTPURLResponse * _Nonnull, NSError * _Nonnull))completionBlock; @end NS_ASSUME_NONNULL_END