enum Protocol::CacheStorage::CachedResponseType

Overview

type of HTTP response cached

Defined in:

protocol/cache_storage.cr

Enum Members

Basic = 0
Cors = 1
Default = 2
Error = 3
OpaqueResponse = 4
OpaqueRedirect = 5

Instance Method Summary

Class methods inherited from struct Enum

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

Instance Method Detail

def basic? #

[View source]
def cors? #

[View source]
def default? #

[View source]
def error? #

[View source]
def opaque_redirect? #

[View source]
def opaque_response? #

[View source]