TTHTTPHeadersBuilder
@interface TTHTTPHeadersBuilder : NSObject
TTHTTPHeadersBuilder Search query
-
Create headers builder
Declaration
Objective-C
+ (TTHTTPHeadersBuilder *_Nonnull)create;
Swift
class func create() -> TTHTTPHeadersBuilder
Return Value
TTHTTPHeadersBuilder
-
Headers builder with trackingID.
Declaration
Objective-C
- (TTHTTPHeadersBuilder *_Nonnull)withTrackingID:(NSString *_Nonnull)trackingID;
Swift
func withTrackingID(_ trackingID: String) -> TTHTTPHeadersBuilder
Parameters
trackingID
Identifier for the Request
Return Value
TTHTTPHeadersBuilder
-
Baseed on provided data builds headers object
Declaration
Objective-C
- (TTHTTPHeaders *_Nonnull)build;
Swift
func build() -> TTHTTPHeaders
Return Value
TTHTTPHeaders