Share via


HttpWebResponseMessage Class

Definition

IODataResponseMessage interface implementation

public class HttpWebResponseMessage : IDisposable, Microsoft.OData.IODataResponseMessage
type HttpWebResponseMessage = class
    interface IODataResponseMessage
    interface IDisposable
Public Class HttpWebResponseMessage
Implements IDisposable, IODataResponseMessage
Inheritance
HttpWebResponseMessage
Implements

Constructors

HttpWebResponseMessage(HttpWebResponse)

Constructor.

HttpWebResponseMessage(IDictionary<String,String>, Int32, Func<Stream>)

Constructor.

Properties

Headers

Returns the collection of response headers.

Response

Gets the underlying HttpWebResponse.

StatusCode

The response status code.

Methods

Dispose()

Close the underlying HttpWebResponse.

Dispose(Boolean)

Perform the actual cleanup work.

GetHeader(String)

Returns the value of the header with the given name.

GetStream()

Gets the stream to be used to read the response payload.

SetHeader(String, String)

Sets the value of the header with the given name.

Applies to