Class FastReportOptions
Inheritance
System.Object
FastReportOptions
Namespace: FastReport.Web
Assembly: FastReport.OpenSource.Web.dll
Syntax
public class FastReportOptions
Properties
Authorize
A function that determines who can access API. It should return true when the request client has access, false for a 401 to be returned. HttpRequest parameter is the current request.
Declaration
public Func<HttpRequest, bool> Authorize { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.AspNetCore.Http.HttpRequest, System.Boolean> |
CacheDuration
Reports' lifetime in minutes. If report is not used the specified time and there is no references to the object, it will be deleted from cache. Default value: "15".
Declaration
[Obsolete("Please, use services.AddFastReport(options => options.CacheOptions)", true)]
public int CacheDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CacheOptions
Declaration
[Obsolete("Please, use services.AddFastReport(options => options.CacheOptions)", true)]
public CacheOptions CacheOptions { get; set; }
Property Value
Type | Description |
---|---|
CacheOptions |
RouteBasePath
Request.Path part of url for API. Default value: "/_fr".
Declaration
public string RouteBasePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |