http_interop_http 0.1.1 copy "http_interop_http: ^0.1.1" to clipboard
http_interop_http: ^0.1.1 copied to clipboard

Interop-compatible wrapper over the standard Dart http package

example/example.dart

import 'package:http_interop/http_interop.dart';
import 'package:http_interop_http/http_interop_http.dart';

Future<void> main() async {
  final handler = DisposableHandler();
  final request = HttpRequest('get', Uri.parse('https://example.com'));
  final response = await handler.handle(request);
  print(response.statusCode);
  print(response.headers);
  print(response.body);
}
0
likes
0
pub points
63%
popularity

Publisher

verified publisherkarapetov.com

Interop-compatible wrapper over the standard Dart http package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, http_interop, http_parser

More

Packages that depend on http_interop_http