vertx / io.vertx.kotlin.core.net / ProxyOptions

# ProxyOptions

`fun ProxyOptions(host: String? = null, password: String? = null, port: Int? = null, type: ProxyType? = null, username: String? = null): ProxyOptions`

A function providing a DSL for building io.vertx.core.net.ProxyOptions objects.

Proxy options for a net client or a net client.

### Parameters

`host` - Set proxy host.

`password` - Set proxy password.

`port` - Set proxy port.

`type` - Set proxy type. ProxyType can be HTTP, SOCKS4 and SOCKS5

`username` - Set proxy username.