Skip to content

CloseProtocolError

[Source]

Protocol error (1002). A protocol violation was detected.

primitive val CloseProtocolError is
  Stringable box

Implements


Constructors

create

[Source]

new val create()
: CloseProtocolError 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: CloseProtocolError val)
: Bool val

Parameters

Returns


ne

[Source]

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

Parameters

Returns