HttpConnection class final

One inbound exchange: request + response adapters from the same host.

Core only depends on this pair; host packages may also expose raw platform types on their concrete connection class (for example, a native HTTP request handle).

Constructors

HttpConnection(RequestAdapter request, ResponseAdapter response)
Creates an exchange from matching request and response adapters.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
request → RequestAdapter
The inbound request adapter.
final
response → ResponseAdapter
The outbound response adapter.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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