Share via


IODataRequestMessageAsync Interface

Represents an interface for asynchronous OData request messages.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Interface IODataRequestMessageAsync _
    Inherits IODataRequestMessage
'Usage
Dim instance As IODataRequestMessageAsync
public interface IODataRequestMessageAsync : IODataRequestMessage
public interface class IODataRequestMessageAsync : IODataRequestMessage
type IODataRequestMessageAsync =  
    interface 
        interface IODataRequestMessage 
    end
public interface IODataRequestMessageAsync extends IODataRequestMessage

The IODataRequestMessageAsync type exposes the following members.

Properties

  Name Description
Public property Headers Gets an enumerable over all the headers for this message. (Inherited from IODataRequestMessage.)
Public property Method Gets or sets the HTTP method used for this request message. (Inherited from IODataRequestMessage.)
Public property Url Gets or sets the request URL for this request message. (Inherited from IODataRequestMessage.)

Top

Methods

  Name Description
Public method GetHeader Returns a value of an HTTP header. (Inherited from IODataRequestMessage.)
Public method GetStream Gets the stream backing for this message. (Inherited from IODataRequestMessage.)
Public method GetStreamAsync Asynchronously get the stream backing for this message.
Public method SetHeader Sets the value of an HTTP header. (Inherited from IODataRequestMessage.)

Top

Extension Methods

  Name Description
Public Extension Method GetDataServiceVersion Reads the DataServiceVersion header from the message and parses it. If no DataServiceVersion header is found it sets the default version to be used for reading. (Defined by ODataMessageExtensions.)
Public Extension Method PreferHeader Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage. (Defined by ODataMessageExtensions.)

Top

See Also

Reference

Microsoft.Data.OData Namespace