class HttpCallEvent
source · line 204public
public class HttpCallEvent internal constructor(
/**
* The event's phase or progress category.
*/
public val kind: HttpCallEventKind,
/**
* Stable information about the logical call.
*/
public val call: HttpCallInfo,
/**
* The immutable attempt snapshot at this event.
*/
public val metrics: HttpAttemptMetrics,
/**
* The failure associated with the event, if any.
*/
public val failure: Throwable?)
An observer event combining stable call information, an attempt snapshot, and any failure.
property kind
source · line 208public
public val kind: HttpCallEventKind
get: public read-only
The event's phase or progress category.
property call
source · line 212public
public val call: HttpCallInfo
get: public read-only
Stable information about the logical call.
function formatSummary
source · line 224public
public fun formatSummary(): String
Formats a compact summary using redacted URL information and observed metrics.
property failure
source · line 220public
public val failure: Throwable?
get: public read-only
The failure associated with the event, if any.
property metrics
source · line 216public
public val metrics: HttpAttemptMetrics
get: public read-only
The immutable attempt snapshot at this event.