HelloBadMagicException

The body does not open with the kuil magic: the remote is not a kuilt peer (or predates v1).

The commonest cause in a hand-written peer is framing: a body sent with no u32 length prefix, or with two. receivedHex shows the bytes that stood where the magic should be.

Constructors

Link copied to clipboard
constructor(receivedHex: String)

Properties

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

Up to the first four bytes of the body, as lowercase hex.