Refused

data class Refused(val reason: String) : Admission(source)

Refuse the handshake: reply REFUSED <reason> to the client, register nothing, and do not fire MultiConnectionUDPServer.onClientConnect.

Constructors

Link copied to clipboard
constructor(reason: String)

Properties

Link copied to clipboard

a short, human-readable cause placed on the wire after REFUSED verbatim (trimmed; embedded control characters collapsed to a space). Keep it terse - it is echoed to an unauthenticated peer.