Share via


IODataRequestMessageAsync Interface

Definition

Interface for asynchronous OData request messages.

public interface IODataRequestMessageAsync : Microsoft.OData.IODataRequestMessage
type IODataRequestMessageAsync = interface
    interface IODataRequestMessage
Public Interface IODataRequestMessageAsync
Implements IODataRequestMessage
Derived
Implements

Properties

Headers

Gets an enumerable over all the headers for this message.

(Inherited from IODataRequestMessage)
Method

Gets or sets the HTTP method used for this request message.

(Inherited from IODataRequestMessage)
Url

Gets or sets the request URL for this request message.

(Inherited from IODataRequestMessage)

Methods

GetHeader(String)

Returns a value of an HTTP header.

(Inherited from IODataRequestMessage)
GetStream()

Gets the stream backing for this message.

(Inherited from IODataRequestMessage)
GetStreamAsync()

Asynchronously get the stream backing for this message.

SetHeader(String, String)

Sets the value of an HTTP header.

(Inherited from IODataRequestMessage)

Extension Methods

GetODataVersion(IODataRequestMessage, 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.

PreferHeader(IODataRequestMessage)

Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage.

Applies to