GMTSRequest
@interface GMTSRequest : NSObject <NSCopying, NSMutableCopying>
Request object that is an abstract class.
-
Header of the request, to specify extra request conditions.
Declaration
Swift
@NSCopying var requestHeader: GMTSRequestHeader? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) GMTSRequestHeader *requestHeader;
-
Initialization of the object.
Declaration
Swift
init(requestHeader: GMTSRequestHeader?)
Objective-C
- (nonnull instancetype)initWithRequestHeader: (nullable GMTSRequestHeader *)requestHeader;
Parameters
requestHeader
A request header object to bind with the current request.
-
Unavailable
Use
-initWithRequestHeader:
instead.Declaration
Objective-C
- (nonnull instancetype)init;