GetSocket class

Inheritance

Constructors

GetSocket(String url, {Duration ping = const Duration(seconds: 5), bool allowSelfSigned = true})

Properties

allowSelfSigned bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
ping Duration
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
getter/setter pairinherited

Methods

close([int? status, String? reason]) → void
inherited
connect() Future
inherited
dispose() → void
inherited
emit(String event, dynamic data) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String event, MessageSocket message) → void
inherited
onClose(CloseSocket fn) → void
inherited
onError(CloseSocket fn) → void
inherited
onMessage(MessageSocket fn) → void
inherited
onOpen(OpenSocket fn) → void
inherited
send(dynamic data) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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