Method: HTTPX::AltSvc.cached_altsvc
- Defined in:
- lib/httpx/altsvc.rb
.cached_altsvc(origin) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/httpx/altsvc.rb', line 12 def cached_altsvc(origin) now = Process.clock_gettime(Process::CLOCK_MONOTONIC) @altsvc_mutex.synchronize do lookup(origin, now) end end |