Skip to content

CloseAbnormalClosure

[Source]

Abnormal closure (1006).

Indicates the TCP connection dropped without a close handshake. This is an indicator code that must never appear on the wire — it exists only for the application callback.

primitive val CloseAbnormalClosure is
  Stringable box

Implements


Constructors

create

[Source]

new val create()
: CloseAbnormalClosure val^

Returns


Public Functions

code

[Source]

Returns the RFC 6455 numeric close code.

fun box code()
: U16 val

Returns


string

[Source]

Returns a human-readable representation including the code and name.

fun box string()
: String iso^

Returns


eq

[Source]

fun box eq(
  that: CloseAbnormalClosure val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: CloseAbnormalClosure val)
: Bool val

Parameters

Returns