Closed
Description
I think it could be cool to be able to create one of these when I'm using another framework that's using io.HttpResponse, I like the Future api you provide.
ie: using redstone.dart
import 'package:http/http.dart' as http;
import 'dart:io';
// this returns an HttpResponse from dart:io
HttpResponse resp = await app.dispatch(req);
// what I'd like to do then
http.HttpResponse myResponse = new http.HttpResponse.fromIoResponse(resp);
// use it ..
String body = await myResponse.body;
Metadata
Metadata
Assignees
Labels
No labels