struct

HT2::StreamLifecycleTracer::Event

Inherits Struct < Value < Object

Represents a single stream lifecycle event

Constructors

new(event_type : EventType, stream_id : UInt32, timestamp : Time = Time.utc, details : String | Nil = nil, previous_state : StreamState | Nil = nil, new_state : StreamState | Nil = nil)
Source

Instance methods

details
Source
event_type
Source
new_state
Source
previous_state
Source
stream_id
Source
timestamp
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source