SocketOptions class

Constructors

SocketOptions(String uri, {Map<String, String> query = const {}, bool enableLogging = false, List<Transports> transports = const [Transports.WEB_SOCKET, Transports.POLLING], String nameSpace = "/", String path = '/socket.io'})

Properties

enableLogging bool
Enable debug logging
final
hashCode int
The hash code for this object.
read-onlyinherited
nameSpace String
Namespace parameter
read / write
path String
Path parameter if socket.io runs on a different endpoint
read / write
query Map<String, String>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
timeout int
Connection timeout (ms). Set -1 to disable.
read / write
transports List<Transports>
List of transport names.
read / write
uri String
final

Methods

asMap() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited