Version 99.2.120
Resource type for a request.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 99.2.120.0 (99.2.120.0)
Syntax public enum class ResourceType
Members
| Member name | Value | Description |
---|
| MainFrame | 0 |
Top level page.
|
| SubFrame | 1 |
Frame or iframe.
|
| Stylesheet | 2 |
CSS stylesheet.
|
| Script | 3 |
External script.
|
| Image | 4 |
Image (jpg/gif/png/etc).
|
| FontResource | 5 |
Font.
|
| SubResource | 6 |
Some other subresource. This is the default type if the actual type is unknown.
|
| Object | 7 |
Object (or embed) tag for a plugin, or a resource that a plugin requested.
|
| Media | 8 |
Media resource.
|
| Worker | 9 |
Main resource of a dedicated worker.
|
| SharedWorker | 10 |
Main resource of a shared worker.
|
| Prefetch | 11 |
Explicitly requested prefetch.
|
| Favicon | 12 |
Favicon.
|
| Xhr | 13 |
XMLHttpRequest.
|
| Ping | 14 |
A request for a ping
|
| ServiceWorker | 15 |
Main resource of a service worker.
|
| CspReport | 16 |
A report of Content Security Policy violations.
|
| PluginResource | 17 |
A resource that a plugin requested.
|
| NavigationPreLoadMainFrame | 19 |
A main-frame service worker navigation preload request.
|
| NavigationPreLoadSubFrame | 20 |
A sub-frame service worker navigation preload request.
|
See Also