Faye class
Main Faye library class containing constants and utility methods
Constructors
- Faye.new()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clientIdFromMessages(
List< Map< messages) → String?String, dynamic> > - Extract client ID from messages
-
copyObject(
dynamic object) → dynamic - Deep copy an object (Map, List, or primitive)
-
toJson(
dynamic value) → String - Convert value to JSON string
Constants
- bayeuxVersion → const String
- Bayeux protocol version
- connected → const int
- connecting → const int
- connectionTimeout → const int
- Default connection timeout in seconds
-
connectionTypes
→ const List<
String> - Supported connection types
- defaultEndpoint → const String
- Default endpoint for Bayeux server
- defaultInterval → const int
- Default retry interval in milliseconds
- disconnected → const int
- handshake → const String
- Reconnection advice types
- jsonpCallback → const String
- JSONP callback parameter name
-
mandatoryConnectionTypes
→ const List<
String> - Mandatory connection types that must be supported
- none → const String
- retry → const String
- unconnected → const int
- Client states
- version → const String
- Current version of the Dart Faye implementation