Scoop API

scoop:scoop.http:0.1.0

src/http2_output.scoop

Selected production source · src/http2_output.scoop

1package scoop.http
3/**
4 * Identifies control, header, or DATA bytes copied out of a session.
5 */
6public enum Http2OutputKind {
7 /**
8 * Connection or stream control-frame bytes.
9 */
10 Control,
11 /**
12 * Header-block frame bytes.
13 */
14 Headers,
15 /**
16 * Body DATA-frame bytes.
17 */
18 Data }
20/**
21 * The byte count copied into the output buffer, associated stream ID, and output category.
22 */
23public struct Http2OutputChunk(val count: Long, val streamId: Int, val kind: Http2OutputKind)