ComponentOne ASP.NET MVC Controls
RequestHeader Method

C1.Web.Mvc.Fluent Namespace > BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Class : RequestHeader Method
The key of one request header.
The value of the request header.
Configurates C1.Web.Mvc.BaseODataCollectionViewService<T>.RequestHeaders. Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.
Syntax
'Declaration
 
Public Function RequestHeader( _
   ByVal key As String, _
   ByVal value As Object _
) As TBuilder
public TBuilder RequestHeader( 
   string key,
   object value
)

Parameters

key
The key of one request header.
value
The value of the request header.

Return Value

Current builder.
See Also

Reference

BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Class
BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Members