BrowserOptionsHttpContextExtensions.GetBrowserOptions(HttpContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the BrowserOptions for the current request. If not already set, seeds from endpoint metadata or creates a new instance.
public static Microsoft.AspNetCore.Components.BrowserOptions GetBrowserOptions(this Microsoft.AspNetCore.Http.HttpContext context);
static member GetBrowserOptions : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Components.BrowserOptions
<Extension()>
Public Function GetBrowserOptions (context As HttpContext) As BrowserOptions
Parameters
- context
- HttpContext
The HttpContext.
Returns
The BrowserOptions for the current request.