NwConnectionClosed

data class NwConnectionClosed(val connectionId: NwConnectionId, val reason: String? = null)

The connection connectionId closed.

reason is a nullable raw transport-level description of why the connection closed (or null if unknown/graceful). This is NOT the Seam-level CloseReason — mapping a raw transport close to the Seam contract's close semantics is the concern of the layer above (NwSeam), which keeps this interface thin and transport-level.

Constructors

Link copied to clipboard
constructor(connectionId: NwConnectionId, reason: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard