> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ResourceType

Categorizes network request resources, such as 'DOCUMENT', 'STYLESHEET', 'IMAGE', or 'XHR'. Useful for filtering or analyzing network traffic.

## Definition

```graphql theme={null}
enum ResourceType {
  DOCUMENT
  STYLESHEET
  IMAGE
  MEDIA
  FONT
  SCRIPT
  TEXT_TRACK
  XHR
  FETCH
  EVENT_SOURCE
  WEBSOCKET
  MANIFEST
  SIGNED_EXCHANGE
  PING
  CSP_VIOLATION_REPORT
  PREFLIGHT
  OTHER
}
```

## Values

### `DOCUMENT`

The main HTML document.

### `STYLESHEET`

A CSS stylesheet.

### `IMAGE`

An image resource (e.g., JPG, PNG, SVG).

### `MEDIA`

A media file, such as video or audio.

### `FONT`

A web font.

### `SCRIPT`

A JavaScript file.

### `TEXT_TRACK`

A text track for media elements (e.g., subtitles).

### `XHR`

An XMLHttpRequest.

### `FETCH`

A request made using the Fetch API.

### `EVENT_SOURCE`

A Server-Sent Events (SSE) connection.

### `WEBSOCKET`

A WebSocket connection.

### `MANIFEST`

A web application manifest file.

### `SIGNED_EXCHANGE`

A Signed HTTP Exchange (SXG).

### `PING`

A ping request (e.g., from `<a ping="...">`).

### `CSP_VIOLATION_REPORT`

A Content Security Policy violation report.

### `PREFLIGHT`

A CORS preflight request.

### `OTHER`

Any other type of resource not covered by the specific categories.
