Constants class
Constants used throughout the Faye implementation
Constructors
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
Constants
- contentTypeForm → const String
- contentTypeJson → const String
- Content types
- contentTypeText → const String
- defaultHeartbeatInterval → const int
- Default heartbeat interval in milliseconds
- defaultKeepAliveTimeout → const int
- Default connection keep-alive timeout in milliseconds
- defaultPollingInterval → const int
- Default polling interval in milliseconds
- defaultRetryDelay → const int
- Default retry delay in milliseconds
- defaultTimeout → const int
- Default timeout for HTTP requests in seconds
-
defaultWebSocketProtocols
→ const List<
String> - Default WebSocket protocols
- headerAccept → const String
- headerAuthorization → const String
- headerCacheControl → const String
- headerConnection → const String
- headerContentType → const String
- HTTP headers
- headerSecWebSocketAccept → const String
- headerSecWebSocketKey → const String
- headerSecWebSocketProtocol → const String
- headerSecWebSocketVersion → const String
- headerUpgrade → const String
- headerUserAgent → const String
- httpBadRequest → const int
- httpForbidden → const int
- httpInternalServerError → const int
- httpMethodNotAllowed → const int
- httpNotFound → const int
- httpOk → const int
- HTTP status codes
- maxMessageId → const int
- Maximum message ID value
- maxMessageSize → const int
- Maximum message size in bytes
- maxRetryAttempts → const int
- Maximum retry attempts
- userAgent → const String
- User agent string for the Dart Faye client
- wsAbnormalClosure → const int
- wsGoingAway → const int
- wsInternalServerError → const int
- wsInvalidFramePayloadData → const int
- wsMessageTooBig → const int
- wsNormalClosure → const int
- WebSocket close codes
- wsNoStatusReceived → const int
- wsPolicyViolation → const int
- wsProtocolError → const int
- wsUnsupportedData → const int