FetchRequestView class abstract interface

Host-neutral view of a Fetch-style request.

JavaScript host entrypoints adapt their native request object to this view; the Routed engine never imports a host's Fetch or execution-context types.

Properties

body Stream<List<int>>
Request body bytes.
no setter
hashCode int
The hash code for this object.
no setterinherited
hostContext RoutedNodeContext?
Request-scoped runtime context supplied by the host adapter.
no setter
method String
HTTP method supplied by the host request.
no setter
rawHeaders Map<String, Object?>
Host header values before conversion to PortableHeaders.
no setter
remoteAddress String?
Connecting client address, when the host exposes one.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Request URL as supplied by the host.
no setter

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