isolated_http_client 1.6.2 icon indicating copy to clipboard operation
isolated_http_client: ^1.6.2 copied to clipboard

http clint with requests cancelation and isolate decoding in separated isolate

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:isolated_http_client/isolated_http_client.dart';

main() {
  await Executor().warmUp();
    final client = HttpClient(log: true);
    final r = await client.get(
        host: 'https://postman-echo.com/get?foo1=bar1&foo2=bar2');
    print(r.body);
    final r2 =
        await client.post(host: 'https://postman-echo.com/post', body: '123');
    print(r2.body);
}
12
likes
110
pub points
65%
popularity

Publisher

verified publisher iconrenesanse.net

http clint with requests cancelation and isolate decoding in separated isolate

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

cross_file, http, http_parser, worker_manager

More

Packages that depend on isolated_http_client