DVHttpFallbackClient class

Walks a request's protocol chain until one succeeds.

The chain is first narrowed to what the transport can speak, so asking for HTTP/3 on a transport without QUIC costs nothing and is not an error. If nothing in the chain is supported, that is an error — a request pinned to HTTP/2 must not quietly go out over HTTP/1.1.

Constructors

DVHttpFallbackClient(DVHttpTransport transport)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transport → DVHttpTransport
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(DVHttpRequest request) → Future<DVHttpResponse>
stream(DVHttpRequest request) → Future<DVHttpStreamedResponse>
toString() → String
A string representation of this object.
inherited

Operators

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