protocol/testing/conformance/transport
packages/protocol/src/testing/conformance/transport
Purpose
Public barrel for transport-layer conformance properties. Transport-layer conformance properties. Lifecycle transport invariants — adversity around latency, connection-reset, timeout, and close. Eachregister* lives in its own file. This barrel re-exports them
by name AND aggregates them into TRANSPORT_PROPERTIES for the
_shared/suite.ts aggregator.
Public surface
acquireProxiedClient
Function
ADVERSITY_CATEGORY
Variable
adversityViolation
Function
createOneOnOneConversation
Function
proxyName
Function
registerLatencyResilience
Function
registerResetPeerRecovery
Function
registerSlowCloseCleanup
Function
registerTimeoutSurface
Function
ToxicBodyParams
Interface
attachToxic attaches the toxic inside the caller’s
scope. Nesting matters: the caller typically does.
TRANSPORT_PROPERTIES
Variable
_shared/suite.ts invokes them.
withToxicProxy
Function
PropertyUnavailable (not a pass, not a crash).
Files
_helpers.tsadversity-latency-resilience.tsadversity-reset-peer-recovery.tsadversity-slow-close-cleanup.tsadversity-timeout-surface.tsindex.ts