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

Sets the server URI of the Lavalink Node.

fun setServerUri(serverUriString: String): NodeOptions.Builder

Sets the server URI of the Lavalink Node. If no port is present in the URI, it will be set to 2333.