NetworkTransaction

data class NetworkTransaction(val id: String, val timestamp: Instant, val method: String, val url: String, val host: String, val path: String, val requestContentType: String? = null, val requestHeaders: List<KeyValue> = emptyList(), val requestBody: BodyPreview? = null, val status: Int? = null, val responseContentType: String? = null, val responseHeaders: List<KeyValue> = emptyList(), val responseBody: BodyPreview? = null, val protocol: String? = null, val durationMillis: Long? = null, val error: String? = null) : SnoopEntry

Constructors

Link copied to clipboard
constructor(id: String, timestamp: Instant, method: String, url: String, host: String, path: String, requestContentType: String? = null, requestHeaders: List<KeyValue> = emptyList(), requestBody: BodyPreview? = null, status: Int? = null, responseContentType: String? = null, responseHeaders: List<KeyValue> = emptyList(), responseBody: BodyPreview? = null, protocol: String? = null, durationMillis: Long? = null, error: String? = null)

Properties

Link copied to clipboard
val durationMillis: Long? = null
Link copied to clipboard
val error: String? = null
Link copied to clipboard
Link copied to clipboard
open override val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val protocol: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Int? = null
Link copied to clipboard
open override val timestamp: Instant
Link copied to clipboard
val url: String