SocketIOOptions class
SocketIOOptions is the options for the socket. It contains the path, transports, headers, and timeout. The path is the path to the server. The transports are the transports to be used. The headers are the headers to be sent to the server. The timeout is the timeout for the socket.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> -
The headers to be sent to the server.
final
- path → String
-
The path to the server.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → int
-
The timeout for the socket.
final
-
transports
→ List<
String> -
The transports to be used.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toOptionBuilder(
) → OptionBuilder -
toOptionBuilder is a method that converts the SocketIOOptions to an
io.OptionBuilder
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited