Scoop API

scoop:scoop.http.asyncio:0.1.0

Http1IncomingRequest

class Http1IncomingRequest

source · line 12
public
public class Http1IncomingRequest internal constructor(
    /**
     * The received protocol head, preserving the original ordered fields.
     */
    public val head: HttpRequestHead,
    /**
     * The single-pass input body associated with this head.
     */
    public val body: AsyncHttp1Body
)

A received request head paired with its single-pass asynchronous body.

property head

source · line 16
public
public val head: HttpRequestHead

get: public read-only

The received protocol head, preserving the original ordered fields.