ISpectWSInterceptor class final
Constructors
- ISpectWSInterceptor({required dynamic logger, ISpectWSInterceptorSettings settings = const ISpectWSInterceptorSettings(), void onClientReady(WebSocketClient)?, RedactionService? redactor})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → dynamic
-
final
- onClientReady → void Function(WebSocketClient)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → ISpectWSInterceptorSettings
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMessage(
Object data, void next(Object data)) → void - Called when the message is about to be received.
-
onSend(
Object data, void next(Object data)) → void - Called when the message is about to be sent.
-
setClient(
WebSocketClient client) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited