vertx / io.vertx.reactivex.core.http / HttpClient / headNow

# headNow

`open fun headNow(options: RequestOptions, responseHandler: Handler<HttpClientResponse>): HttpClient`

Sends an HTTP HEAD request to the server with the specified options, specifying a response handler to receive the response

### Parameters

`options` - the request options

`responseHandler` - the response handler

Return
a reference to this, so the API can be used fluently

`open fun headNow(port: Int, host: String, requestURI: String, responseHandler: Handler<HttpClientResponse>): HttpClient`

Sends an HTTP HEAD request to the server at the specified host and port, specifying a response handler to receive the response

### Parameters

`port` - the port

`host` - the host

`requestURI` - the relative URI

`responseHandler` - the response handler

Return
a reference to this, so the API can be used fluently

`open fun headNow(host: String, requestURI: String, responseHandler: Handler<HttpClientResponse>): HttpClient`

Sends an HTTP HEAD request to the server at the specified host and default port, specifying a response handler to receive the response

### Parameters

`host` - the host

`requestURI` - the relative URI

`responseHandler` - the response handler

Return
a reference to this, so the API can be used fluently

`open fun headNow(requestURI: String, responseHandler: Handler<HttpClientResponse>): HttpClient`

Sends an HTTP HEAD request to the server at the default host and port, specifying a response handler to receive the response

### Parameters

`requestURI` - the relative URI

`responseHandler` - the response handler

Return
a reference to this, so the API can be used fluently