RequestTools extension
- on
Properties
-
pathParams
↔ Map<
String, String> -
Available on HttpRequest, provided by the RequestTools extension
Path parameters extracted from dynamic route matching (e.g.:id).getter/setter pair
Methods
-
getBodyParams(
) → Future< Map< String, String> > -
Available on HttpRequest, provided by the RequestTools extension
Parses multipart/form-data body parameters. -
getFormData(
) → Future< Map< String, String> > -
Available on HttpRequest, provided by the RequestTools extension
Parses a URL-encoded form body (application/x-www-form-urlencoded). -
getJsonBody(
) → Future< Map< String, dynamic> > -
Available on HttpRequest, provided by the RequestTools extension
Parses the body as JSON and returns a Map<String, dynamic>. -
getRawBody(
) → Future< String> -
Available on HttpRequest, provided by the RequestTools extension
Reads the raw body string, caching it so the stream is only consumed once.