DoxRequest class
Constructors
- DoxRequest(HttpRequest httpRequest, HttpResponse httpResponse, Uri uri, HttpHeaders headers)
Properties
- body ↔ Map
-
getter/setter pair
- bodyString ↔ dynamic
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → HttpHeaders
-
final
- httpRequest → HttpRequest
-
final
- httpResponse → HttpResponse
-
final
- method ↔ String
-
getter/setter pair
-
param
↔ Map<
String, dynamic> -
getter/setter pair
-
query
↔ Map<
String, dynamic> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri ↔ Uri
-
getter/setter pair
Methods
-
add(
dynamic key, dynamic value) → void - Add new request value
-
all(
) → Map< String, dynamic> - Get all request from body and query
- get cookie value from header
-
has(
String key) → bool - Determining If Input Is Present
-
header(
dynamic key) → String? - Get header value
-
input(
dynamic key) → String? - Get request value
-
ip(
) → String? - Get user IP
-
merge(
Map< String, dynamic> values) → void - Merge request values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
only(
List< String> keys) → Map<String, dynamic> - Get Only specific request from body and query
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
httpRequestToDoxRequest(
HttpRequest request, RouteData route) → Future< DoxRequest>