Conn class
The default ConnBase implementation.
Properties
- bufferSize → int
-
Gets the buffer size of this connection.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- head → StateHead
-
Gets the state header.
finalinherited
- id → String
-
Returns the identifier of this connection.
no setterinherited
- initialState → ConnState
-
Gets the initial connection stated passed in constructor.
finalinherited
- onStateChange ↔ (dynamic Function(ConnState?)?)
-
Fires when connection state updates.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transferred → int
-
Returns the number of bytes transferred.
no setterinherited
Methods
-
close(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< Stream< DataBody> > -
Starts transmission from server.
inherited
-
startCore(
) → Future< Stream< List< >int> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited