Class: Whoosh::HTTP::AsyncClient
- Inherits:
-
Object
- Object
- Whoosh::HTTP::AsyncClient
- Defined in:
- lib/whoosh/http.rb
Instance Method Summary collapse
- #delete(url, **opts) ⇒ Object
- #get(url, **opts) ⇒ Object
- #patch(url, **opts) ⇒ Object
- #post(url, **opts) ⇒ Object
- #put(url, **opts) ⇒ Object
Instance Method Details
#delete(url, **opts) ⇒ Object
94 |
# File 'lib/whoosh/http.rb', line 94 def delete(url, **opts) = Thread.new { HTTP.delete(url, **opts) } |
#get(url, **opts) ⇒ Object
90 |
# File 'lib/whoosh/http.rb', line 90 def get(url, **opts) = Thread.new { HTTP.get(url, **opts) } |
#patch(url, **opts) ⇒ Object
93 |
# File 'lib/whoosh/http.rb', line 93 def patch(url, **opts) = Thread.new { HTTP.patch(url, **opts) } |