Builder

data class Builder(    name: String? = null,     serverUri: URI? = null,     password: String? = null,     regionFilter: IRegionFilter? = null,     httpTimeout: Long = TIMEOUT_MS)

Constructors

Link copied to clipboard
constructor(    name: String? = null,     serverUri: URI? = null,     password: String? = null,     regionFilter: IRegionFilter? = null,     httpTimeout: Long = TIMEOUT_MS)

Functions

Link copied to clipboard
Link copied to clipboard

Sets the http total call timeout. (Default: 10000ms)

Link copied to clipboard
Link copied to clipboard

Sets the password to access the node.

Link copied to clipboard

Sets a region filter on the node for regional load balancing (Default: none)

Link copied to clipboard
fun setServerUri(serverUriString: String): NodeOptions.Builder

Sets the server URI of the Lavalink Node.