File was renamed from frameworks/GoogleDataTransport.framework/Headers/GDTCORReachability.h |
| | |
| | | /* |
| | | * Copyright 2019 Google |
| | | * Copyright 2020 Google LLC |
| | | * |
| | | * Licensed under the Apache License, Version 2.0 (the "License"); |
| | | * you may not use this file except in compliance with the License. |
| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import "GDTCORPlatform.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** This class helps determine upload conditions by determining connectivity. */ |
| | | @interface GDTCORReachability : NSObject |
| | | /** The class represents HTTP response received from `NSURLSession`. */ |
| | | @interface GULURLSessionDataResponse : NSObject |
| | | |
| | | /** The current set flags indicating network conditions */ |
| | | + (GDTCORNetworkReachabilityFlags)currentFlags; |
| | | @property(nonatomic, readonly) NSHTTPURLResponse *HTTPResponse; |
| | | @property(nonatomic, nullable, readonly) NSData *HTTPBody; |
| | | |
| | | - (instancetype)initWithResponse:(NSHTTPURLResponse *)response HTTPBody:(nullable NSData *)body; |
| | | |
| | | @end |
| | | |