vertx / io.vertx.kotlin.core.http / requestOptionsOf

# requestOptionsOf

`fun requestOptionsOf(headers: Map<String, String>? = null, host: String? = null, port: Int? = null, ssl: Boolean? = null, uri: String? = null): RequestOptions`

A function providing a DSL for building io.vertx.core.http.RequestOptions objects.

Options describing how an io.vertx.core.http.HttpClient will make connect to make a request.

### Parameters

`headers` - Add a request header.

`host` - Set the host name to be used by the client request.

`port` - Set the port to be used by the client request.

`ssl` - Set whether SSL/TLS is enabled

`uri` - Set the request relative URI