RouteScopedPlugin
interface RouteScopedPlugin<TConfiguration : Any, TPlugin : Any> : Plugin<ApplicationCallPipeline, TConfiguration, TPlugin>
Content copied to clipboard
Defines a Plugin that can be installed into Route
Parameters
TConfig
is the configuration object type for this Plugin
TPlugin
is the instance type of the Plugin object
Functions
Link copied to clipboard
abstract fun install(pipeline: ApplicationCallPipeline, configure: TConfiguration.() -> Unit): TPlugin
Content copied to clipboard
A plugin's installation script