enum Http2Event
source · line 7public enum Http2Event
An HTTP/2 stream or connection event. Data consumption and outgoing bytes must be driven separately through the session.
variant Failure
source · line 49Failure(HttpException)
An asynchronous send-side protocol failure with its affected scope.
parameter _
source · line 49HttpException
field _
source · line 49HttpException
variant StreamClosed
source · line 33StreamClosed(Int, UInt)
A stream fully closed with the supplied HTTP/2 error code.
parameter _
source · line 33Int
field _
source · line 33UInt
field _
source · line 33Int
parameter _
source · line 33UInt
variant RequestHeadStarted
source · line 9RequestHeadStarted(Int)
A server began decoding a new request header block, before the head is complete.
parameter _
source · line 9Int
field _
source · line 9Int
variant Data
source · line 21Data(Int, Array<Byte>)
A stream ID and owned DATA payload; acknowledge actual application consumption with consume.
parameter _
source · line 21Array<Byte>
field _
source · line 21Array<Byte>
parameter _
source · line 21Int
field _
source · line 21Int
variant IgnoredField
source · line 45IgnoredField(Int, HttpField)
A stream ID and regular field ignored under the receive compatibility policy.
field _
source · line 45HttpField
parameter _
source · line 45HttpField
field _
source · line 45Int
parameter _
source · line 45Int
variant Trailers
source · line 25Trailers(Int, Array<HttpField>)
A stream ID and trailing regular fields.
parameter _
source · line 25Int
field _
source · line 25Int
parameter _
source · line 25Array<HttpField>
field _
source · line 25Array<HttpField>
variant Settings
source · line 41Settings(Array<Http2Setting>, Boolean)
Received settings entries and whether the frame is an acknowledgement.
field _
source · line 41Array<Http2Setting>
parameter _
source · line 41Boolean
field _
source · line 41Boolean
parameter _
source · line 41Array<Http2Setting>
variant End
source · line 29End(Int)
The peer ended its sending direction for this stream.
field _
source · line 29Int
parameter _
source · line 29Int
variant Request
source · line 13Request(Int, HttpRequestHead)
A stream ID and its initial request head.
parameter _
source · line 13Int
parameter _
source · line 13HttpRequestHead
field _
source · line 13Int
field _
source · line 13HttpRequestHead
variant Response
source · line 17Response(Int, HttpResponseHead)
A stream ID and response head, including informational responses.
field _
source · line 17HttpResponseHead
parameter _
source · line 17HttpResponseHead
field _
source · line 17Int
parameter _
source · line 17Int
variant GoAway
source · line 37GoAway(Int, UInt, Array<Byte>, Boolean)
The last stream ID, error code, debug bytes, and whether this GOAWAY was sent locally.
field _
source · line 37Array<Byte>
field _
source · line 37Boolean
field _
source · line 37Int
parameter _
source · line 37Int
parameter _
source · line 37UInt
field _
source · line 37UInt
parameter _
source · line 37Boolean
parameter _
source · line 37Array<Byte>
function equals
source · line 7operator fun equals(other: Http2Event): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Int, HttpRequestHead, HttpResponseHead, Array<Int8>, Array<HttpField>, UInt, Boolean, Array<Http2Setting>, HttpField, HttpException.