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

outdated

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(Uri.parse('https://www.qq.com/robots.txt'));

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

1
likes
0
pub points
16%
popularity

Publisher

verified publisherrmw.link

http get or post with timeout ( default 60 seconds )

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on req