Skip to content

CloseGoingAway

[Source]

Going away (1001). The endpoint is shutting down.

primitive val CloseGoingAway is
  Stringable box

Implements


Constructors

create

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns