Scoop API

scoop:scoop.http.asyncio:0.1.0

Http2IncomingRequest

class Http2IncomingRequest

source · line 9
public
public class Http2IncomingRequest internal constructor(
    /**
     * The received protocol head, preserving the original ordered fields.
     */
    public val head: HttpRequestHead,
    /**
     * The stream used to read the request body and send its response.
     */
    public val stream: AsyncHttp2Stream)

A received request head paired with its independently controlled HTTP/2 stream.

property head

source · line 13
public
public val head: HttpRequestHead

get: public read-only

The received protocol head, preserving the original ordered fields.