Visual RFC.
ALL RFCs / RFC 9000
Read the RFC ↗
RFC 9000 / MECHANISMS

Stream IDs describe direction

02

The low two bits encode the initiator and whether the stream is bidirectional or unidirectional.

RFC 9000 · § 2.1EXAMPLE
3 / 3
03
Allocate the next ID of a type.

Client-initiated bidirectional streams use IDs 0, 4, 8, and so on.

Stream IDs describe directionBit columns reveal initiator and direction before a sequence of IDs of one type is allocated.STREAM ID · TWO LOWEST BITS00clientbidirectional01serverbidirectional10clientunidirectional11serverunidirectionalClient bidirectional IDs: 0 → 4 → 8 → …Low bit: initiator · next-lowest bit: direction

Key idea: IDs distinguish four stream types.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Client-initiated IDs are even; server-initiated IDs are odd.
  • The next-lowest bit distinguishes bidirectional from unidirectional streams.
  • Successive IDs of one type increase by four; IDs are not reused within a connection.

Limits on how many streams may be opened are separate from a stream’s direction and ID.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9000

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗