package
0.0.0-20240605145135-70feac92938f
Repository: https://github.com/getstream/quic-go.git
Documentation: pkg.go.dev
# Functions
AppendShortHeader writes a short header.
ComposeVersionNegotiation composes a Version Negotiation.
No description provided by the author
Is0RTTPacket says if this is a 0-RTT packet.
IsLongHeaderPacket says if this is a Long Header packet.
No description provided by the author
IsVersionNegotiationPacket says if this is a version negotiation packet.
LogFrame logs a frame, either sent or received.
No description provided by the author
NewFrameParser creates a new frame parser.
ParseArbitraryLenConnectionIDs parses the most general form of a Long Header packet, using only the version-independent packet format as described in Section 5.1 of RFC 8999: https://datatracker.ietf.org/doc/html/rfc8999#section-5.1.
ParseConnectionID parses the destination connection ID of a packet.
ParsePacket parses a long header packet.
ParseShortHeader parses a short header packet.
ParseVersion parses the QUIC version.
ParseVersionNegotiationPacket parses a Version Negotiation packet.
No description provided by the author
# Variables
AdditionalTransportParametersClient are additional transport parameters that will be added to the client's transport parameters.
ErrInvalidReservedBits is returned when the reserved bits are incorrect.
No description provided by the author
MaxDatagramSize is the maximum size of a DATAGRAM frame (RFC 9221).
# Structs
An AckFrame is an ACK frame.
AckRange is an ACK range.
A ConnectionCloseFrame is a CONNECTION_CLOSE frame.
A CryptoFrame is a CRYPTO frame.
A DataBlockedFrame is a DATA_BLOCKED frame.
A DatagramFrame is a DATAGRAM frame.
ExtendedHeader is the header of a QUIC packet.
The FrameParser parses QUIC frames, one by one.
A HandshakeDoneFrame is a HANDSHAKE_DONE frame.
The Header is the version independent part of the header.
A MaxDataFrame carries flow control information for the connection.
A MaxStreamDataFrame is a MAX_STREAM_DATA frame.
A MaxStreamsFrame is a MAX_STREAMS frame.
A NewConnectionIDFrame is a NEW_CONNECTION_ID frame.
A NewTokenFrame is a NEW_TOKEN frame.
A PathChallengeFrame is a PATH_CHALLENGE frame.
A PathResponseFrame is a PATH_RESPONSE frame.
A PingFrame is a PING frame.
PreferredAddress is the value encoding in the preferred_address transport parameter.
A ResetStreamFrame is a RESET_STREAM frame in QUIC.
A RetireConnectionIDFrame is a RETIRE_CONNECTION_ID frame.
A StopSendingFrame is a STOP_SENDING frame.
A StreamDataBlockedFrame is a STREAM_DATA_BLOCKED frame.
A StreamFrame of QUIC.
A StreamsBlockedFrame is a STREAMS_BLOCKED frame.
TransportParameters are parameters sent to the peer during the handshake.
# Interfaces
A Frame in QUIC.