Delegate ResolveWebResourceDelegate
Delegate that can be executed when a web resource needs to be resolved.
Namespace: BlazorWebView
Assembly: BlazorWebView.dll
Syntax
public delegate Stream ResolveWebResourceDelegate(string url, out string contentType, out Encoding encoding);
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | url | The url for the web resource. |
| System.String | contentType | The content type of the web resource. |
| System.Text.Encoding | encoding | The encoding of the resource. |
Returns
| Type | Description |
|---|---|
| System.IO.Stream | A stream with the content of the web resource. |