Scoop API

scoop:scoop.http.asyncio:0.1.0

Http1IncomingResponse

class Http1IncomingResponse

source · line 26
public
public class Http1IncomingResponse internal constructor(
    /**
     * The received protocol head, preserving the original ordered fields.
     */
    public val head: HttpResponseHead,
    /**
     * The single-pass input body associated with this head.
     */
    public val body: AsyncHttp1Body,
    /**
     * The first received response-byte time when timing collection is enabled.
     */
    public val firstByteAt: TimeMark?
)

A received response head, single-pass body, and optional captured first-byte timestamp.

property firstByteAt

source · line 38
public
public val firstByteAt: TimeMark?

get: public read-only

The first received response-byte time when timing collection is enabled.