JsFetchRequest class
One HTTP exchange requested by JS fetch.
A JsFetchHandler must perform exactly this request and must not follow redirects: redirect policy, the URL allow-list and the redirect limit are applied by the runtime between hops so that every hop is checked.
Constructors
Properties
- body → Uint8List?
-
Request body, already fully buffered, or
null.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ List<
MapEntry< String, String> > -
final
- method → String
-
final
-
onAbort
→ Future<
void> -
Completes when JS aborts the request or the engine is reset.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → Uri
-
final
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