ClientTransportConnection class

Inheritance

Constructors

ClientTransportConnection.viaSocket(Socket socket, { ClientSettings settings })
factory
ClientTransportConnection.viaStreams(Stream<List<int>> incoming, StreamSink<List<int>> outgoing, { ClientSettings settings })
factory

Properties

isOpen → bool
Whether this connection is open and can be used to make new requests via makeRequest.
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
onActiveStateChanged ActiveStateHandler
Sets the active state callback. [...]
write-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

makeRequest(List<Header> headers, { bool endStream: false }) ClientTransportStream
Creates a new outgoing stream.
finish() → Future
Finish this connection. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
ping() → Future
Pings the other end.
inherited
terminate() → Future
Terminates this connection forcefully.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited