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