mirror of
https://github.com/jlengrand/ktor.git
synced 2026-03-10 08:31:20 +00:00
Make utility LoggingContent internal
This commit is contained in:
@@ -53,12 +53,6 @@ public final class io/ktor/client/features/logging/Logging$Config {
|
||||
public final fun setLogger (Lio/ktor/client/features/logging/Logger;)V
|
||||
}
|
||||
|
||||
public final class io/ktor/client/features/logging/LoggingContent : io/ktor/http/content/OutgoingContent$ReadChannelContent {
|
||||
public fun <init> (Lio/ktor/utils/io/ByteReadChannel;)V
|
||||
public final fun getChannel ()Lio/ktor/utils/io/ByteReadChannel;
|
||||
public fun readFrom ()Lio/ktor/utils/io/ByteReadChannel;
|
||||
}
|
||||
|
||||
public final class io/ktor/client/features/logging/LoggingKt {
|
||||
public static final fun Logging (Lio/ktor/client/HttpClientConfig;Lkotlin/jvm/functions/Function1;)V
|
||||
public static synthetic fun Logging$default (Lio/ktor/client/HttpClientConfig;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
||||
|
||||
@@ -33,7 +33,7 @@ internal suspend fun OutgoingContent.observe(log: ByteWriteChannel): OutgoingCon
|
||||
}
|
||||
}
|
||||
|
||||
class LoggingContent(val channel: ByteReadChannel) : OutgoingContent.ReadChannelContent() {
|
||||
internal class LoggingContent(private val channel: ByteReadChannel) : OutgoingContent.ReadChannelContent() {
|
||||
override fun readFrom(): ByteReadChannel = channel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user