req 1.0.1 req: ^1.0.1 copied to clipboard
http get or post with timeout ( default 60 seconds )
import 'package:req/init.dart';
void main() async {
final r = await req.get(Uri.parse('https://www.qq.com/robots.txt'));
print(r.statusCode);
print(await r.text());
print('done');
}