BlazorWebViewStaticContentRequest Class

Definition

Describes a request for static content served by a BlazorWebView. An instance is passed to the callback set on StaticContentCacheControlProvider so the application can decide which Cache-Control header value to send for the resource.

public ref class BlazorWebViewStaticContentRequest sealed
public sealed class BlazorWebViewStaticContentRequest
type BlazorWebViewStaticContentRequest = class
Public NotInheritable Class BlazorWebViewStaticContentRequest
Inheritance
BlazorWebViewStaticContentRequest

Constructors

Name Description
BlazorWebViewStaticContentRequest(Uri, String)

Initializes a new instance of the BlazorWebViewStaticContentRequest class.

Properties

Name Description
ContentType

Gets the resolved MIME content type of the requested static content, for example image/png.

Uri

Gets the absolute URI of the requested static content.

Applies to