ResourceType

@Serializable
enum ResourceType : Enum<Network.ResourceType>

Resource type as it was perceived by the rendering engine.

Entries

Link copied to clipboard
@SerialName(value = "Document")
DOCUMENT
Link copied to clipboard
@SerialName(value = "Stylesheet")
STYLESHEET
Link copied to clipboard
@SerialName(value = "Image")
IMAGE
Link copied to clipboard
@SerialName(value = "Media")
MEDIA
Link copied to clipboard
@SerialName(value = "Font")
FONT
Link copied to clipboard
@SerialName(value = "Script")
SCRIPT
Link copied to clipboard
@SerialName(value = "TextTrack")
TEXTTRACK
Link copied to clipboard
@SerialName(value = "XHR")
XHR
Link copied to clipboard
@SerialName(value = "Fetch")
FETCH
Link copied to clipboard
@SerialName(value = "Prefetch")
PREFETCH
Link copied to clipboard
@SerialName(value = "EventSource")
EVENTSOURCE
Link copied to clipboard
@SerialName(value = "WebSocket")
WEBSOCKET
Link copied to clipboard
@SerialName(value = "Manifest")
MANIFEST
Link copied to clipboard
@SerialName(value = "SignedExchange")
SIGNEDEXCHANGE
Link copied to clipboard
@SerialName(value = "Ping")
PING
Link copied to clipboard
@SerialName(value = "CSPViolationReport")
CSPVIOLATIONREPORT
Link copied to clipboard
@SerialName(value = "Preflight")
PREFLIGHT
Link copied to clipboard
@SerialName(value = "FedCM")
FEDCM
Link copied to clipboard
@SerialName(value = "Other")
OTHER

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.