struct YoutubeConnectionPool
- YoutubeConnectionPool
- Struct
- Value
- Object
Defined in:
invidious/helpers/utils.crConstructors
Instance Method Summary
- #capacity : Int32
- #capacity=(capacity : Int32)
- #capacity? : Int32 | Nil
- #client(region = nil, &)
- #pool : DB::Pool(QUIC::Client | HTTP::Client)
- #pool=(pool : DB::Pool(QUIC::Client | HTTP::Client))
- #timeout : Float64
- #timeout=(timeout : Float64)
- #timeout? : Float64 | Nil
- #url : URI
- #url=(url : URI)
- #url? : URI | Nil
Constructor Detail
def self.new(url : URI, capacity : Int32 | Nil = 5, timeout : Float64 | Nil = 5.0, use_quic = true)
#