HTTPRequestSerializer
open class HTTPRequestSerializer : NSObject, URLRequestSerialization
Undocumented
-
Undocumented
Declaration
Swift
open var stringEncoding: String.Encoding
-
Undocumented
Declaration
Swift
open var allowsCellularAccess: Bool
-
Undocumented
Declaration
Swift
open var cachePolicy: URLRequest.CachePolicy
-
Undocumented
Declaration
Swift
open var httpShouldHandleCookies: Bool
-
Undocumented
Declaration
Swift
open var httpShouldUsePipelining: Bool
-
Undocumented
Declaration
Swift
open var networkServiceType: URLRequest.NetworkServiceType
-
Undocumented
Declaration
Swift
open var timeoutInterval: TimeInterval
-
Undocumented
Declaration
Swift
open var httpMethodsEncodingParametersInURI: Set<String>
-
Undocumented
Declaration
Swift
open var httpRequestHeaders: [String : String] { get }
-
Undocumented
Declaration
Swift
override public init()
-
Undocumented
Declaration
Swift
open func setValue(_ value: String?, forHTTPHeaderField field: String)
-
Undocumented
Declaration
Swift
open func value(forHTTPHeaderField field: String) -> String?
-
Undocumented
Declaration
Swift
open func setAuthorizationHeaderField(username: String, password: String)
-
Undocumented
Declaration
Swift
open func clearAuthorizationHeader()
-
Undocumented
Declaration
Swift
open func setQueryStringSerialization(style: HTTPRequestQueryStringSerializationStyle)
-
Undocumented
Declaration
Swift
open func setQueryStringSerialization(block: (@Sendable (_ request: URLRequest, _ parameters: Any) throws -> String?)?)
-
Undocumented
Declaration
Swift
open func request(method: String, urlString: String, parameters: Any?) throws -> URLRequest
-
Undocumented
Declaration
Swift
open func multipartFormRequest(method: String, urlString: String, parameters: [String : Any]?, constructingBody block: (@Sendable (MultipartFormData) -> Void)?) throws -> URLRequest
-
Undocumented
Declaration
Swift
open func request(multipartFormRequest request: URLRequest, writingStreamContentsToFile fileURL: URL, completionHandler: (@Sendable (Error?) -> Void)?) -> URLRequest?
-
Undocumented
Declaration
Swift
open func requestBySerializingRequest(_ request: URLRequest, parameters: Any?) throws -> URLRequest
-
Undocumented
Declaration
Swift
public static let URLRequestSerializationErrorDomain: String
-
Undocumented
Declaration
Swift
public static let NetworkingOperationFailingURLRequestErrorKey: String
-
Undocumented
Declaration
Swift
public static let UploadStream3GSuggestedPacketSize: UInt
-
Undocumented
Declaration
Swift
public static let UploadStream3GSuggestedDelay: TimeInterval
-
Undocumented
Declaration
Swift
public static func percentEscapedString(from string: String) -> String
-
Undocumented
Declaration
Swift
public static func queryString(from parameters: [AnyHashable : Any]) -> String