Method: Vertx::HttpClient#options
- Defined in:
- lib/vertx/http.rb
#options(uri, &hndlr) ⇒ Object
This method returns an Vertx::HttpClientRequest instance which represents an HTTP OPTIONS request with the specified uri. When an HTTP response is received from the server the handler is called passing in the response.
183 184 185 |
# File 'lib/vertx/http.rb', line 183 def (uri, &hndlr) HttpClientRequest.new(@j_del.(uri, resp_handler(hndlr))) end |