ProtocolException

Thrown by PeerConnection.receiveLoop when a peer violates the wire protocol (for example a wrong-sized bitfield, or an oversized frame). These match the family of peer_error disconnects in libtorrent. The connection must be closed.

Constructors

Link copied to clipboard
constructor(message: String)

Properties

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