IODataRequestMessage Interface
Represents an interface for synchronous OData request messages.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Syntax
public interface IODataRequestMessage
public interface class IODataRequestMessage
type IODataRequestMessage = interface end
Public Interface IODataRequestMessage
Properties
Name | Description | |
---|---|---|
Headers | Gets an enumerable over all the headers for this message. |
|
Method | Gets or sets the HTTP method used for this request message. |
|
Url | Gets or sets the request URL for this request message. |
Methods
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
GetODataVersion(ODataVersion) | Overloaded. Reads the OData-Version header from the message and parses it.(Defined by ODataMessageExtensions.) |
|
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