Share via


IODataRequestMessageAsync Interface

 

Represents an interface for asynchronous OData request messages.

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

Syntax

public interface IODataRequestMessageAsync : IODataRequestMessage
public interface class IODataRequestMessageAsync : IODataRequestMessage
type IODataRequestMessageAsync = 
    interface
        interface IODataRequestMessage
    end
Public Interface IODataRequestMessageAsync
    Inherits IODataRequestMessage

Properties

Name Description
System_CAPS_pubproperty Headers

Gets an enumerable over all the headers for this message.(Inherited from IODataRequestMessage.)

System_CAPS_pubproperty Method

Gets or sets the HTTP method used for this request message.(Inherited from IODataRequestMessage.)

System_CAPS_pubproperty Url

Gets or sets the request URL for this request message.(Inherited from IODataRequestMessage.)

Methods

Name Description
System_CAPS_pubmethod GetHeader(String)

Returns a value of an HTTP header.(Inherited from IODataRequestMessage.)

System_CAPS_pubmethod GetStream()

Gets the stream backing for this message.(Inherited from IODataRequestMessage.)

System_CAPS_pubmethod GetStreamAsync()

Asynchronously gets the stream backing for this message.

System_CAPS_pubmethod SetHeader(String, String)

Sets the value of an HTTP header.(Inherited from IODataRequestMessage.)

Extension Methods

Name Description
System_CAPS_pubmethod GetODataVersion(ODataVersion)

Overloaded. Reads the OData-Version header from the message and parses it.(Defined by ODataMessageExtensions.)

System_CAPS_pubmethod PreferHeader()

Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage.(Defined by ODataMessageExtensions.)

See Also

Microsoft.OData.Core Namespace

Return to top