class NGHTTP::Config

Direct Known Subclasses

Defined in:

nghttp/config.cr

Macro Summary

Instance Method Summary

Macro Detail

macro hk(t) #

define typed setters and getters


[View source]
macro hk_nilable(t) #

[View source]

Instance Method Detail

def _cfg : Hash(String, Bool | IO | Int32 | NGHTTP::Transport | Range(Int32, Int32) | String | Time::Span | {String, String} | Nil) #

[View source]
def basic_auth : Tuple(String, String) #

[View source]
def basic_auth=(v : Tuple(String, String)) #

[View source]
def basic_auth? : Tuple(String, String) | Nil #

[View source]
def cache : Bool #

[View source]
def cache=(v : Bool) #

[View source]
def cache? : Bool | Nil #

[View source]
def cache_expires : Time::Span #

[View source]
def cache_expires=(v : Time::Span) #

[View source]
def cache_expires? : Time::Span | Nil #

[View source]
def cache_key : String #

[View source]
def cache_key=(v : String) #

[View source]
def cache_key? : String | Nil #

[View source]
def cache_statuses : Array(Int32) #

[View source]
def cache_statuses=(v : Array(Int32)) #

[View source]
def cache_statuses? : Array(Int32) | Nil #

[View source]
def connect_timeout : Time::Span #

[View source]
def connect_timeout=(v : Time::Span) #

[View source]
def connect_timeout? : Time::Span | Nil #

[View source]
def connections_per_host : Int32 #

[View source]
def connections_per_host=(v : Int32) #

[View source]
def connections_per_host? : Int32 | Nil #

[View source]
def debug_connect : Bool #

[View source]
def debug_connect=(v : Bool) #

[View source]
def debug_connect? : Bool | Nil #

[View source]
def debug_file : IO::FileDescriptor #

[View source]
def debug_file=(v : IO::FileDescriptor) #

[View source]
def debug_file? : IO::FileDescriptor | Nil #

[View source]
def dns_timeout : Time::Span #

[View source]
def dns_timeout=(v : Time::Span) #

[View source]
def dns_timeout? : Time::Span | Nil #

[View source]
def max_redirects : Int32 #

[View source]
def max_redirects=(v : Int32) #

[View source]
def max_redirects? : Int32 | Nil #

[View source]
def merge!(x : Config) #

[View source]
def offset : Range(Int32, Int32) | Int32 #

[View source]
def offset=(v : Range(Int32, Int32) | Int32) #

[View source]
def offset? : Range(Int32, Int32) | Int32 | Nil #

[View source]
def proxy : String #

[View source]
def proxy=(v : String) #

[View source]
def proxy? : String | Nil #

[View source]
def read_timeout : Time::Span #

[View source]
def read_timeout=(v : Time::Span) #

[View source]
def read_timeout? : Time::Span | Nil #

[View source]
def tls : OpenSSL::SSL::Context::Client #

[View source]
def tls=(v : OpenSSL::SSL::Context::Client) #

[View source]
def tls? : OpenSSL::SSL::Context::Client | Nil #

[View source]
def tries : Int32 #

[View source]
def tries=(v : Int32) #

[View source]
def tries? : Int32 | Nil #

[View source]
def verify : Bool #

[View source]
def verify=(v : Bool) #

[View source]
def verify? : Bool | Nil #

[View source]
def wait : Time::Span #

[View source]
def wait=(v : Time::Span) #

[View source]
def wait? : Time::Span | Nil #

[View source]