vertx / io.vertx.rxjava.core / RxHelper / get

# get

`open static fun get(client: HttpClient, requestURI: String): Observable<HttpClientResponse>`
`open static fun get(client: HttpClient, host: String, requestURI: String): Observable<HttpClientResponse>`
`open static fun get(client: HttpClient, port: Int, host: String, requestURI: String): Observable<HttpClientResponse>`

See Also
#get(HttpClient, int, String, String, MultiMap)

`open static fun get(client: HttpClient, port: Int, host: String, requestURI: String, headers: MultiMap): Observable<HttpClientResponse>`

Returns an `Observable<HttpClientResponse>` that performs a get request each time it is subscribed. The returned observable can be used to consume the response.

This is different from the `HttpClientRequest#toObservable()` that should be subscribed before the request is ended and should be consumed immediatly and once.

### Parameters

`client` - the http client

`port` - the remote port

`host` - the remote host

`requestURI` - the request URI

`headers` - the request headers

Return
the response observable