req 1.0.3 copy "req: ^1.0.3" to clipboard
req: ^1.0.3 copied to clipboard

http get or post with timeout ( default 60 seconds )

req #

http get or post with timeout ( default 60 seconds )

use #

import 'package:req/init.dart';

void main() async {
  final r = await req.get('https://www.qq.com/robots.txt');

  print(r.statusCode);
  print(await r.text());
  print('done');
}

1
likes
120
pub points
14%
popularity

Publisher

verified publisherrmw.link

http get or post with timeout ( default 60 seconds )

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (LICENSE)

More

Packages that depend on req