Skip to content

CloseInvalidPayload

[Source]

Invalid payload (1007). A message payload was not valid.

primitive val CloseInvalidPayload is
  Stringable box

Implements


Constructors

create

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns