HttpResponseMessage.Headers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of HTTP response headers associated with the HttpResponseMessage that were sent by the server.
public:
property HttpResponseHeaderCollection ^ Headers { HttpResponseHeaderCollection ^ get(); };
HttpResponseHeaderCollection Headers();
public HttpResponseHeaderCollection Headers { get; }
var httpResponseHeaderCollection = httpResponseMessage.headers;
Public ReadOnly Property Headers As HttpResponseHeaderCollection
Property Value
The collection of HTTP response headers.
Remarks
The Headers property returns an HttpResponseHeaderCollection object that can be used to get or set the specific headers on the HTTP response.