HeadersMessage is the JSON payload of a headers envelope (flag 0x06). Like
Connect's EndStreamResponse, it is defined directly in code rather than as
a protobuf message. On the wire it looks like:
Metadata keys are HTTP-header-shaped; values are string lists. Keys
beginning with ":" are pseudo-headers (only ":path" is currently used) and
are not surfaced to applications. The Go implementation defines the
equivalent HeaderMessage type in internal/connectprotocol.
HeadersMessage is the JSON payload of a headers envelope (flag 0x06). Like Connect's EndStreamResponse, it is defined directly in code rather than as a protobuf message. On the wire it looks like:
Metadata keys are HTTP-header-shaped; values are string lists. Keys beginning with ":" are pseudo-headers (only ":path" is currently used) and are not surfaced to applications. The Go implementation defines the equivalent HeaderMessage type in internal/connectprotocol.