Skip to main content

HTTPRequest.resourceType() method

Contains the request's resource type as it was perceived by the rendering engine.

Signature:

resourceType(): ResourceType;

Returns:

ResourceType