scoop:scoop.http:0.1.0
src/http2_output.scoop
Selected production source · src/http2_output.scoop
1
package scoop.http3
/**4
* Identifies control, header, or DATA bytes copied out of a session.5
*/6
public 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
*/23
public struct Http2OutputChunk(val count: Long, val streamId: Int, val kind: Http2OutputKind)