WebsocketProtocolException class
An incoming frame violated RFC 6455.
closeCode is the websocket close code that should be sent to the peer when failing the connection (usually 1002 protocol error or 1009 message too big).
- Implemented types
Constructors
- WebsocketProtocolException(String message, [int closeCode = 1002])
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