SockJSOptions class
A configuration object to be used when constructing a SockJSClient.
Constructors
-
SockJSOptions({String? server, List<
String> ? transports}) - Construct a SockJSOptions instance to be passed to the SockJSClient constructor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → String?
-
String to append to url for actual data connection.
final
-
transports
→ List<
String> ? -
A list of transports that may be used by SockJS.
final
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