Share via


IODataResponseMessage Interface

Definition

Interface for synchronous OData response messages.

public interface IODataResponseMessage
type IODataResponseMessage = interface
Public Interface IODataResponseMessage
Derived

Properties

Headers

Gets an enumerable over all the headers for this message.

StatusCode

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

Methods

GetHeader(String)

Returns a value of an HTTP header.

GetStream()

Gets the stream backing for this message.

SetHeader(String, String)

Sets the value of an HTTP header.

Extension Methods

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