ReadonlyframingNormalized packet reassembly limits.
ReadonlyoptionsNormalized application-message and timing limits.
Drive the responding side and install inbound lifecycle callbacks.
OptionalonMessage: OnWireMessageOptionalonDone: OnWireDoneAwait queued outbound delivery after requesting a half-close.
Return the normalized epoch deadline, or null when disabled.
Return the transport-assigned stream identifier.
Return an advanced transport handle, when the implementation has one.
Return the current terminal error, or OK while healthy/cleanly done.
Return peer half-close trailers once received.
Stop sending after queued messages, while continuing to receive.
Optionaltrailers: ByteMapInputQueue a message for asynchronous transport; this does not await delivery.
Change the absolute deadline; omit it to disable the deadline.
Optionaldeadline: WireDeadlineDrive the initiating side and install inbound lifecycle callbacks.
OptionalonMessage: OnWireMessageOptionalonDone: OnWireDoneAwait terminal stream completion, including the done callback.
StaticcreateWrap a binary channel with A11 framing and lifecycle semantics.
Construction validates the stream id and all limits without opening the channel. Opening happens later in start or accept.
Adds the A11 WireStream lifecycle to a packet-oriented binary channel.
Each WireMessage is split into bounded packets and may be reassembled out of order or interleaved with other messages. Incoming queues and partial messages are bounded separately so an agent cannot accumulate unbounded state while an application callback is slow.
Most applications construct WebSocketWireStream, WebRtcWireStream, or InProcessWireStream instead. Use this class directly when adapting a new channel. After exactly one of start or accept, finish normally with halfClose then drainOutgoingMessages; peer input continues until its half-close. An abort, transport failure, or deadline skips that normal drain and ends both directions with a structured status.