RequestExtension extension
- on
-
- Request
Properties
- connectionInfo → HttpConnectionInfo?
-
Available on Request, provided by the RequestExtension extension
Connection information for the associated HTTP request.no setter - httpMethod → HttpMethod
-
Available on Request, provided by the RequestExtension extension
The HttpMethod associated with the request.no setter
Methods
-
body(
) → Future< String> -
Available on Request, provided by the RequestExtension extension
Returns a Stream representing the body. -
formData(
) → Future< FormData> -
Available on Request, provided by the RequestExtension extension
Returns a Future containing the form data as a Map. -
json(
) → Future -
Available on Request, provided by the RequestExtension extension
Returns a Future containing the body text parsed as a json object. This object could be anything that can be represented by json e.g. a map, a list, a string, a number, a bool...