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.
endpoint
- Sets the endpoint, which is the URL of the service. The endpoint is automatically computed when you use the other setX
method.