removeProperty(forKey:in:)
Removes the property associated with the specified key in the specified request.
Declaration
class func removeProperty(forKey key: String, in request: NSMutableURLRequest)Parameters
- key:
The key whose value should be removed.
- request:
The request from which to remove the property value.
Discussion
This method is used to provide an interface for protocol implementors to customize protocol-specific information associated with URLRequest objects, or NSMutableURLRequest objects in Objective-C.