WebSocketMessageInfo

What a Redactor knows about a WebSocket message besides its payload.

Library-constructed: the concrete implementation is internal in :lustro, and a later release can add properties.

Properties

Link copied to clipboard
abstract val isOutgoing: Boolean

true for a message the app sent, false for one it received.

Link copied to clipboard
abstract val url: String

The URL of the connection's request as OkHttp holds it, so https:// for a wss:// connection. Not redacted.