Request extension type

A JS interop wrapper for the Express Request object.

This class allows you to interact with the Express Request object from Dart code using js_interop. The properties of this class correspond to the properties of the Express Request object in JavaScript.

on
Implemented types
Available extensions

Properties

body JSAny?
The body of the request as a dynamic object (if available).
no setter
hashCode int
The hash code for this object.
no setterinherited
headers JSObject
The headers of the request as a dynamic object (key-value pairs).
no setter
method String
The HTTP method of the request (e.g., GET, POST, etc.).
no setter
path String
The path of the request (without the query string).
no setter
query JSAny?
The query parameters of the request as a dynamic object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
The full URL of the request.
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