Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2026 Changes in this version + func HasAckElicitingFrames(fs []Frame) bool + func IsFrameAckEliciting(f wire.Frame) bool + func IsFrameTypeAckEliciting(t wire.FrameType) bool + type Frame struct + Frame wire.Frame + Handler FrameHandler + type FrameHandler interface + OnAcked func(wire.Frame) + OnLost func(wire.Frame) + type ReceivedPacketHandler struct + func NewReceivedPacketHandler(logger utils.Logger) *ReceivedPacketHandler + func (h *ReceivedPacketHandler) DropPackets(encLevel protocol.EncryptionLevel) + func (h *ReceivedPacketHandler) GetAckFrame(encLevel protocol.EncryptionLevel, now monotime.Time, onlyIfQueued bool) *wire.AckFrame + func (h *ReceivedPacketHandler) GetAlarmTimeout() monotime.Time + func (h *ReceivedPacketHandler) IgnorePacketsBelow(pn protocol.PacketNumber) + func (h *ReceivedPacketHandler) IsPotentiallyDuplicate(pn protocol.PacketNumber, encLevel protocol.EncryptionLevel) bool + func (h *ReceivedPacketHandler) ReceivedPacket(pn protocol.PacketNumber, ecn protocol.ECN, encLevel protocol.EncryptionLevel, ...) error + type SendMode uint8 + const SendAck + const SendAny + const SendNone + const SendPTOAppData + const SendPTOHandshake + const SendPTOInitial + const SendPacingLimited + func (s SendMode) String() string + type SentPacketHandler interface + DropPackets func(_ protocol.EncryptionLevel, rcvTime monotime.Time) + ECNMode func(isShortHeaderPacket bool) protocol.ECN + GetLossDetectionTimeout func() monotime.Time + MigratedPath func(now monotime.Time, initialMaxPacketSize protocol.ByteCount) + OnLossDetectionTimeout func(now monotime.Time) error + PeekPacketNumber func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen) + PopPacketNumber func(protocol.EncryptionLevel) protocol.PacketNumber + QueueProbePacket func(protocol.EncryptionLevel) bool + ReceivedAck func(f *wire.AckFrame, encLevel protocol.EncryptionLevel, rcvTime monotime.Time) (bool, error) + ReceivedBytes func(_ protocol.ByteCount, rcvTime monotime.Time) + ReceivedPacket func(protocol.EncryptionLevel, monotime.Time) + ResetForRetry func(rcvTime monotime.Time) + SendMode func(now monotime.Time) SendMode + SentPacket func(t monotime.Time, pn, largestAcked protocol.PacketNumber, ...) + SetMaxDatagramSize func(count protocol.ByteCount) + TimeUntilSend func() monotime.Time + func NewSentPacketHandler(initialPN protocol.PacketNumber, initialMaxDatagramSize protocol.ByteCount, ...) SentPacketHandler + type StreamFrame struct + Frame *wire.StreamFrame + Handler FrameHandler