enum Gemini::Status

Defined in:

gemini/status.cr

Enum Members

Input = 0
SensitiveInput = 1
Success = 2
RedirectTemporary = 3
RedirectPermanent = 4
TemporaryFailure = 5
ServerUnavailable = 6
CgiError = 7
ProxyError = 8
SlowDown = 9
PermanentFailure = 10
NotFound = 11
Gone = 12
ProxyRequestRefused = 13
BadRequest = 14
ClientCertificateRequired = 15
CertificateNotAuthorised = 16
CertificateNotValid = 17

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.from_i32!(value : Int32) : self #

[View source]

Class Method Detail

def self.from_i32?(value : Int32) : self | Nil #

[View source]

Instance Method Detail

def bad_request? #

[View source]
def certificate_not_authorised? #

[View source]
def certificate_not_valid? #

[View source]
def cgi_error? #

[View source]
def client_certificate_required? #

[View source]
def gone? #

[View source]
def input? #

[View source]
def not_found? #

[View source]
def permanent_failure? #

[View source]
def proxy_error? #

[View source]
def proxy_request_refused? #

[View source]
def redirect_permanent? #

[View source]
def redirect_temporary? #

[View source]
def sensitive_input? #

[View source]
def server_unavailable? #

[View source]
def slow_down? #

[View source]
def success? #

[View source]
def temporary_failure? #

[View source]
def to_i32 : Int32 #
Description copied from struct Enum

Returns the value of this enum member as a Int32


[View source]