Skip to content

ClosePolicyViolation

[Source]

Policy violation (1008). A policy was violated.

primitive val ClosePolicyViolation is
  Stringable box

Implements


Constructors

create

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns