DVRustHttpTransport class

The native transport, as web sees it: never available.

Implemented types

Constructors

DVRustHttpTransport(String libraryPath)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
libraryPath → String
final
name → String
A name for diagnostics: package:http, rust, fetch.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportedProtocols → Set<DVHttpProtocol>
Nothing, on web.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(DVHttpRequest request) → Future<DVHttpResponse>
Sends request, which is already pinned to a single protocol.
override
stream(DVHttpRequest request) → Future<DVHttpStreamedResponse>
Sends request and yields the body as it arrives.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

tryLoad() → Future<DVRustHttpTransport?>
Always null on web, with the reason recorded.