1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified).

See RFC 6455, Section 7.4.1 Defined Status Codes.


Link copied to clipboard
open override val code: Int
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int