CustomFayeExtension class

Custom extension for message transformation

Implemented types

Constructors

CustomFayeExtension.new({Map<String, dynamic> outgoingProcessor(Map<String, dynamic>)?, Map<String, dynamic> incomingProcessor(Map<String, dynamic>)?})
Constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
incomingProcessor Map<String, dynamic> Function(Map<String, dynamic>)?
Custom incoming processor
final
outgoingProcessor Map<String, dynamic> Function(Map<String, dynamic>)?
Custom outgoing processor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

incoming(Map<String, dynamic> message) Map<String, dynamic>
Process incoming messages
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
outgoing(Map<String, dynamic> message) Map<String, dynamic>
Process outgoing messages
override
toString() String
A string representation of this object.
inherited

Operators

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