sig/plugins/response_cache.rbs in httpx-1.1.2 vs sig/plugins/response_cache.rbs in httpx-1.1.3
- old
+ new
@@ -7,10 +7,12 @@
def self?.cacheable_request?: (Request & RequestMethods request) -> bool
def self?.cacheable_response?: (::HTTPX::ErrorResponse | (Response & ResponseMethods) response) -> bool
def self?.cached_response?: (response response) -> bool
class Store
- @store: Hash[String, Array[Response]] & Mutex_m
+ @store: Hash[String, Array[Response]]
+
+ @store_mutex: Thread::Mutex
def lookup: (Request request) -> Response?
def cached?: (Request request) -> boolish
\ No newline at end of file