Enum ResourceType
- Namespace
- DotNetBrowser.Net.Handlers
- Assembly
- DotNetBrowser.dll
The type of the resource being loaded.
public enum ResourceType
Fields
CspReport = 17
The Content Security Policy report.
Favicon = 13
A favicon.
FontResource = 6
A font.
Image = 5
An image (jpg/gif/png/etc).
MainFrame = 1
Top level page.
Media = 9
A media resource.
Object = 8
An object (or embed) tag for a plugin, or a resource that a plugin requested.
Ping = 15
A ping request for <a ping>.
PluginResource = 18
The main plugin resource.
Prefetch = 12
An explicitly requested prefetch.
Script = 4
An external script.
ServiceWorker = 16
The main resource of a service worker.
The main resource of a shared worker.
Stylesheet = 3
A CSS stylesheet.
SubFrame = 1
Frame or IFRAME.
SubResource = 7
An "other" sub-resource.
UnknownResource = 0
The resource of the unknown type.
Worker = 10
The main resource of a dedicated worker.
Xhr = 14
A XMLHttpRequest.