HttpExtensions extension
- on
Properties
-
getParams
→ Map<
String, dynamic> -
Available on HttpRequest, provided by the HttpExtensions extension
no setter -
getQueryParameters
→ Map<
String, dynamic> -
Available on HttpRequest, provided by the HttpExtensions extension
/?path=[path]query parametersno setter
Methods
-
getBody(
) → Future< String> -
Available on HttpRequest, provided by the HttpExtensions extension
get request body -> map -
send(
dynamic text, {ContentType? contentType, int statusCode = HttpStatus.ok}) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
send text String -
sendFile(
String filePath) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
send file partial download 206 -
sendHtml(
String html) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
send html String -
sendJson(
String jsonStr) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
send json encoded String -
sendNotFoundHtml(
{String? text}) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
-
sendText(
String text) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
send text String -
sendVideoStream(
String filePath) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
send video streamming -
uploadFile(
String outPath) → Future< void> -
Available on HttpRequest, provided by the HttpExtensions extension
upload from client