TaskBridgeWebSocketPolicyCloseException

Exception thrown when the WebSocket is closed by the server due to a policy violation or authentication error.

Parameters

code

The WebSocket close code.

reason

The reason for closing the connection provided by the server.

Constructors

Link copied to clipboard
constructor(code: Int, reason: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?