ServerBuilder

Configuration class for the server.

Properties

Link copied to clipboard

if the shared http client should be used.

Link copied to clipboard

the prefix for webhook routes

Functions

Link copied to clipboard

Declare a bot.

Link copied to clipboard
fun engine(serverConfigurator: NettyApplicationEngine.Configuration.() -> Unit)

Set the configuration for the engine.

Link copied to clipboard
fun ktorModule(module: Application.() -> Unit)

Add a ktor module to the server.

Link copied to clipboard
fun server(configurator: ManualConfiguration.() -> Unit)

Set the configuration for the server.