DefaultFayeExtension class
Default Faye extension implementation with authentication support
- Implemented types
Constructors
- DefaultFayeExtension.new({required String api, required String token, dynamic onLog(String level, dynamic data)?})
- Constructor
Properties
- api → String
-
API key for authentication
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onLog → dynamic Function(String level, dynamic data)?
-
Logging callback
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
Authentication token
final
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