WebSocketOpcode enum

RFC 6455 5.2 opcodes.

Inheritance
Available extensions

Values

continuation → const WebSocketOpcode
const WebSocketOpcode(0x0)
text → const WebSocketOpcode
const WebSocketOpcode(0x1)
binary → const WebSocketOpcode
const WebSocketOpcode(0x2)
close → const WebSocketOpcode
const WebSocketOpcode(0x8)
ping → const WebSocketOpcode
const WebSocketOpcode(0x9)
pong → const WebSocketOpcode
const WebSocketOpcode(0xa)

Properties

code → int
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isControl → bool
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromCode(int code) → WebSocketOpcode?

Constants

values → const List<WebSocketOpcode>
A constant List of the values in this enum, in order of their declaration.