Language

IODataResponseMessageAsync Interface

Definition

Interface for asynchronous OData response messages.

public interface IODataResponseMessageAsync : Microsoft.OData.IODataResponseMessage
type IODataResponseMessageAsync = interface
    interface IODataResponseMessage
Public Interface IODataResponseMessageAsync
Implements IODataResponseMessage
Derived
Implements

Properties

Name Description
Headers

Gets an enumerable over all the headers for this message.

(Inherited from IODataResponseMessage)
StatusCode

Gets or sets the result status code of the response message.

(Inherited from IODataResponseMessage)

Methods

Name Description
GetHeader(String)

Returns a value of an HTTP header.

(Inherited from IODataResponseMessage)
GetStream()

Gets the stream backing for this message.

(Inherited from IODataResponseMessage)
GetStreamAsync()

Asynchronously get the stream backing for this message.

SetHeader(String, String)

Sets the value of an HTTP header.

(Inherited from IODataResponseMessage)

Extension Methods

Name Description
GetODataVersion(IODataResponseMessage, ODataVersion)

Reads the OData-Version header from the message and parses it. If no OData-Version header is found it sets the default version to be used for reading.

PreferenceAppliedHeader(IODataResponseMessage)

Gets the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage.

Applies to