enum Protocol::Network::ResourceType

Overview

Resource type as it was perceived by the rendering engine.

Defined in:

protocol/network.cr

Enum Members

Document = 0
Stylesheet = 1
Image = 2
Media = 3
Font = 4
Script = 5
TextTrack = 6
XHR = 7
Fetch = 8
Prefetch = 9
EventSource = 10
WebSocket = 11
Manifest = 12
SignedExchange = 13
Ping = 14
CSPViolationReport = 15
Preflight = 16
Other = 17

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def csp_violation_report? #

[View source]
def document? #

[View source]
def event_source? #

[View source]
def fetch? #

[View source]
def font? #

[View source]
def image? #

[View source]
def manifest? #

[View source]
def media? #

[View source]
def other? #

[View source]
def ping? #

[View source]
def prefetch? #

[View source]
def preflight? #

[View source]
def script? #

[View source]
def signed_exchange? #

[View source]
def stylesheet? #

[View source]
def text_track? #

[View source]
def web_socket? #

[View source]
def xhr? #

[View source]