struct QUICPool

Defined in:

invidious/helpers/utils.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(url : URI, capacity : Int32 | Nil = 5, timeout : Float64 | Nil = 5.0) #

[View source]

Instance Method Detail

def capacity : Int32 #

def capacity=(capacity : Int32) #

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

def client(region = nil, &) #

[View source]
def pool : ConnectionPool(QUIC::Client) #

[View source]
def pool=(pool : ConnectionPool(QUIC::Client)) #

[View source]
def timeout : Float64 #

def timeout=(timeout : Float64) #

[View source]
def timeout? : Float64 | Nil #

def url : URI #

def url=(url : URI) #

[View source]
def url? : URI | Nil #