Builder
@objc(SFMCSdkWrappedRequestBuilder)
public class Builder : NSObjectThis is a helper class for request building.
- Tag: Builder
- 
                  
                  Initializer for the Builder. DeclarationSwift public override init()
- 
                  
                  Sets the Http method. DeclarationSwift @objc public func method(_ method: String) -> BuilderParametersmethodhttp method Return Valueself 
- 
                  
                  Sets the network call request url. DeclarationSwift @objc public func url(_ url: String) -> BuilderParametersurlrequest url Return Valueself 
- 
                  
                  Sets the network call request url. DeclarationSwift @objc public func url(base: String, path: String) -> BuilderParametersbasebase request url pathrequest url path Return Valueself 
- 
                  
                  Adds or replaces existing header. DeclarationSwift @objc public func addOrReplaceHeader(key: String, value: String) -> BuilderParameterskeyheader key valueheader value Return Valueself 
- 
                  
                  Sets payload of the request. DeclarationSwift @objc public func body(_ body: Data) -> BuilderParametersbodypayload Return Valueself 
- 
                  
                  Sets timeout on the request DeclarationSwift @objc public func timeout(_ seconds: TimeInterval) -> BuilderParameterssecondstimeout in seconds Return Valueself 
- 
                  
                  Sets rate limiting on the requet DeclarationSwift @objc public func rateLimit(_ seconds: TimeInterval) -> BuilderParameterssecondsrate limiting in seconds Return Valueself 
- 
                  
                  Sets name of the request DeclarationSwift @objc public func name(_ name: String) -> BuilderParametersnamerequest name Return Valueself 
- 
                  
                  Sets up tag on the request DeclarationSwift @objc public func tag(_ tag: String) -> BuilderParameterstagrequest tag Return Valueself 
- 
                  
                  Builds request of given parameters. DeclarationSwift @objc public func build() -> WrappedRequest?Return ValueWrappedRequest instance 
 Builder Class Reference
        Builder Class Reference