All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.io.ktor.client.plugins.observer.ResponseObserverContextJvm.kt Maven / Gradle / Ivy

Go to download

Ktor is a framework for quickly creating web applications in Kotlin with minimal effort.

There is a newer version: 2.2.4
Show newest version
/*
 * Copyright 2014-2022 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
 */

package io.ktor.client.plugins.observer

import kotlinx.coroutines.slf4j.*
import kotlin.coroutines.*

internal actual suspend fun getResponseObserverContext(): CoroutineContext =
    coroutineContext[MDCContext] ?: EmptyCoroutineContext




© 2015 - 2024 Weber Informatics LLC | Privacy Policy