WebSocketProtocolException class final
A peer that broke the framing rules.
code is the close code to answer with: 1002 for a protocol error, 1007 for bad UTF-8, 1009 for a message over the size limit.
- Implemented types
Constructors
- WebSocketProtocolException(int code, String message)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited