struct YoutubeConnectionPool

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, use_quic = true) #

[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 : DB::Pool(QUIC::Client | HTTP::Client) #

[View source]
def pool=(pool : DB::Pool(QUIC::Client | HTTP::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 #