org.http4k.tracing.recording.kt Maven / Gradle / Ivy
package org.http4k.tracing
import org.http4k.events.Event
sealed interface TraceStep
sealed interface Trace : TraceStep {
val origin: Actor
val target: Actor
val request: String
val children: List
}
data class StartInteraction(val origin: String, val interactionName: String) : TraceStep,
Event
data object StartRendering : TraceStep, Event
data object StopRendering : TraceStep, Event
data class RequestResponse(
override val origin: Actor,
override val target: Actor,
override val request: String,
val response: String,
override val children: List
) : Trace, TraceStep
data class FireAndForget(
override val origin: Actor,
override val target: Actor,
override val request: String,
override val children: List
) : Trace, TraceStep
data class BiDirectional(
override val origin: Actor,
override val target: Actor,
override val request: String,
override val children: List
) : Trace, TraceStep
© 2015 - 2025 Weber Informatics LLC | Privacy Policy