IODataRequestMessage Interface
Represents an interface for synchronous OData request messages.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Interface IODataRequestMessage
'Usage
Dim instance As IODataRequestMessage
public interface IODataRequestMessage
public interface class IODataRequestMessage
type IODataRequestMessage = interface end
public interface IODataRequestMessage
The IODataRequestMessage type exposes the following members.
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. |
Top
Methods
Name | Description | |
---|---|---|
GetHeader | Returns a value of an HTTP header. | |
GetStream | Gets the stream backing for this message. | |
SetHeader | Sets the value of an HTTP header. |
Top
Extension Methods
Name | Description | |
---|---|---|
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.) | |
PreferHeader | Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage. (Defined by ODataMessageExtensions.) |
Top