WebSocketAdvertisement
data class WebSocketAdvertisement(val url: String, val serverPeerId: PeerId, val displayName: String) : Tag
Tag for WebSocket transports.
Carries the ws:// or wss:// URL needed by KtorClientLoom.join plus the server's PeerId so both ends arrive at the same membership view without any in-band handshake.
Properties
Link copied to clipboard
Human-readable name for the local peer.
Link copied to clipboard
The server's PeerId for this endpoint. Must match the selfPeerId the corresponding KtorServerLoom was constructed with.