vertx / io.vertx.rxjava.ext.web.client / WebClient / request

# request

`open fun request(method: HttpMethod, port: Int, host: String, requestURI: String): HttpRequest<Buffer>`

Create an HTTP request to send to the server at the specified host and port.

### Parameters

`method` - the HTTP method

`port` - the port

`host` - the host

`requestURI` - the relative URI

Return
an HTTP client request object

`open fun request(method: HttpMethod, host: String, requestURI: String): HttpRequest<Buffer>`

Create an HTTP request to send to the server at the specified host and default port.

### Parameters

`method` - the HTTP method

`host` - the host

`requestURI` - the relative URI

Return
an HTTP client request object

`open fun request(method: HttpMethod, requestURI: String): HttpRequest<Buffer>`

Create an HTTP request to send to the server at the default host and port.

### Parameters

`method` - the HTTP method

`requestURI` - the relative URI

Return
an HTTP client request object

`open fun request(method: HttpMethod, options: RequestOptions): HttpRequest<Buffer>`

Create an HTTP request to send to the server at the specified host and port.

### Parameters

`method` - the HTTP method

`options` - the request options

Return
an HTTP client request object