Skip to main content

RemoteFileSystemProviderBuilder.RequestHeaders(Object) Method

Specifies the request headers. Mirrors the client-side requestHeaders option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RemoteFileSystemProviderBuilder RequestHeaders(
    object value
)

Parameters

Name Type Description
value Object

The option value.

Returns

Type Description
RemoteFileSystemProviderBuilder

A reference to this instance after the method is called.

Remarks

@(Html.DevExtreme().FileManager()
    .FileSystemProvider(provider => provider.Remote()
        .RequestHeaders("key1", "value1"))
)

Run Demo: File Manager - Overview Demo

See Also