vertx / io.vertx.kotlin.servicediscovery.types / HttpLocation

# HttpLocation

`fun HttpLocation(endpoint: String? = null, host: String? = null, port: Int? = null, root: String? = null, ssl: Boolean? = null): HttpLocation`

A function providing a DSL for building io.vertx.servicediscovery.types.HttpLocation objects.

Represents the location of a HTTP endpoint. This object (its json representation) will be used as "location" in a service record.

### Parameters

`endpoint` - Sets the endpoint, which is the URL of the service. The endpoint is automatically computed when you use the other `setX` method.

`host` - Sets the host.

`port` - Sets the port

`root` - Sets the path of the service (root)

`ssl` - Sets whether or not the HTTP service is using https.