class HttpRequestCompletion
source · line 33public class HttpRequestCompletion internal constructor(
/** The request identifier supplied by the server or the application caller. */
public val requestId: String,
/** The selected route, absent for an unmatched fallback or special target. */
public val route: HttpRouteInfo?,
/** The original method token. */
public val method: String,
/** The submitted final status, absent if no response was submitted. */
public val status: UInt?,
/** Time through response completion and request cleanup. */
public val elapsed: Duration,
/** Body bytes received after protocol framing removal. */
public val receivedBytes: Long,
/** Body bytes delivered after any installed content decoding. */
public val deliveredBytes: Long,
/** Response content accepted from the producer. */
public val responseBytes: Long,
/** Response content accepted by HTTP, excluding framing and TLS overhead. */
public val encodedResponseBytes: Long,
/** The final pipeline outcome, independent of an already-sent success status. */
public val outcome: HttpRequestOutcome,
/** The terminal failure when the pipeline did not complete normally. */
public val failure: Throwable?
)
Completion facts detached from the mutable request and its resource lifetimes.
property failure
source · line 55public val failure: Throwable?
get: public read-only
The terminal failure when the pipeline did not complete normally.
property method
source · line 39public val method: String
get: public read-only
The original method token.
property encodedResponseBytes
source · line 51public val encodedResponseBytes: Long
get: public read-only
Response content accepted by HTTP, excluding framing and TLS overhead.
property outcome
source · line 53public val outcome: HttpRequestOutcome
get: public read-only
The final pipeline outcome, independent of an already-sent success status.
property requestId
source · line 35public val requestId: String
get: public read-only
The request identifier supplied by the server or the application caller.
property elapsed
source · line 43public val elapsed: Duration
get: public read-only
Time through response completion and request cleanup.
property status
source · line 41public val status: UInt?
get: public read-only
The submitted final status, absent if no response was submitted.
property responseBytes
source · line 49public val responseBytes: Long
get: public read-only
Response content accepted from the producer.
property route
source · line 37public val route: HttpRouteInfo?
get: public read-only
The selected route, absent for an unmatched fallback or special target.
property deliveredBytes
source · line 47public val deliveredBytes: Long
get: public read-only
Body bytes delivered after any installed content decoding.
property receivedBytes
source · line 45public val receivedBytes: Long
get: public read-only
Body bytes received after protocol framing removal.