PluginName

data class PluginName(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
fun PluginName(pluginName: String)

Types

Link copied to clipboard
object Key : CoroutineContext.Key<PluginName>

Key for PluginName instance in the coroutine context.

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.

Properties

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

Plugin name.