The metadata associated with the response to a URL load request, independent of protocol and URL scheme.
- iOS 2.0+
- macOS 10.2+
- tvOS 9.0+
- watchOS 2.0+
HTTPURLResponse class is a commonly used subclass of
URLResponse whose objects represent a response to an HTTP URL load request and store additional protocol-specific information such as the response headers. Whenever you make an HTTP request, the
URLResponse object you get back is actually an instance of the