IDataServiceHost.RequestAccept Property


The transport protocol specified by the request accept header.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

string RequestAccept { get; }

Property Value

Type: System.String

String that indicates the transport protocol required by the request.

Protocols currently supported by WCF Data Services include JSON and AtomPub.

.NET Framework
Available since 3.5
Return to top