PluginName

data class PluginName(val pluginName: String) : AbstractCoroutineContextElement

Name of the Ktor plugin that is currently being invoked. This name is used in debugging mode.

Constructors

Link copied to clipboard
constructor(pluginName: String)

Types

Link copied to clipboard

Key for PluginName instance in the coroutine context.

Properties

Link copied to clipboard
open override val key: CoroutineContext.Key<*>
Link copied to clipboard

Plugin name.

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.