StreamingMultipartFormData
open class StreamingMultipartFormData : NSObject, MultipartFormData
extension StreamingMultipartFormData: RequestMultipartFormData
Undocumented
-
Undocumented
Declaration
Swift
public init(urlRequest: URLRequest, stringEncoding: String.Encoding)
-
Undocumented
Declaration
Swift
open func requestByFinalizingMultipartFormData() -> URLRequest
-
Undocumented
Declaration
Swift
open func appendPart(fileURL: URL, name: String) throws
-
Undocumented
Declaration
Swift
open func appendPart(fileURL: URL, name: String, fileName: String, mimeType: String) throws
-
Undocumented
Declaration
Swift
open func appendPart(inputStream: InputStream?, length: UInt64, name: String, fileName: String, mimeType: String)
-
Undocumented
Declaration
Swift
open func appendPart(fileData data: Data, name: String, fileName: String, mimeType: String)
-
Undocumented
Declaration
Swift
open func appendPart(formData data: Data, name: String)
-
Undocumented
Declaration
Swift
open func appendPart(headers: [String : String]?, body: Data)
-
Undocumented
Declaration
Swift
open func appendPart(inputStream: InputStream?, length: UInt64, headers: [String : String]?)
-
Undocumented
Declaration
Swift
open func throttleBandwidth(packetSize numberOfBytes: Int, delay: TimeInterval)
-
Declaration
Swift
public func append(_ formData: Data, name: String)
-
Declaration
Swift
public func append(_ fileData: Data, name: String, fileName: String, mimeType: String)
-
Declaration
Swift
public func append(_ fileURL: URL, name: String)
-
Declaration
Swift
public func append(_ fileURL: URL, name: String, fileName: String, mimeType: String)
-
Declaration
Swift
public func append(_ inputStream: InputStream, length: UInt64, name: String, fileName: String, mimeType: String)
-
Declaration
Swift
public func append(_ inputStream: InputStream, length: UInt64, headers: [String : String])
-
Declaration
Swift
public func append(_ body: Data, headers: [String : String])