Contents

HTTPURLResponse

The metadata associated with the response to an HTTP protocol URL load request.

Declaration

class HTTPURLResponse

Overview

The HTTPURLResponse class is a subclass of URLResponse that provides methods for accessing information specific to HTTP protocol responses. Whenever you make HTTP URL load requests, any response objects you get back from the URLSession, NSURLConnection, or NSURLDownload class are instances of the HTTPURLResponse class.

Topics

Initializing a response object

Getting HTTP response headers

Getting response status codes

Initializers

See Also

Requests and responses