handle 0.3.2+1 copy "handle: ^0.3.2+1" to clipboard
handle: ^0.3.2+1 copied to clipboard

A simple library for composing HTTP clients, creating services to make HTTP requests.

Handle HTTP Clients & Services #

Pub handle_test

A simple library for composing HTTP clients, and creating services to make HTTP requests. Uses the package:http's Client.

Features #

Handle has number of features to make HTTP requests flexible, and easy to use:

  • Combine different client to create the perfect HTTP client for your needs.
  • Compatibility with package:http's Client - You can wrap with existing http Clients, like RetryClient
  • Very minimum boilerplate for creating REST requests, and services with no code generation.
  • Extensive test suite and benchmarks to ensure reliability, and high performance.

Documentation #

See the API documentation for details on the following topics:

Latest benchmark results #

For comparing client performance from this package, I've included benchmarks for this library's clients, and package:http's Client with no external dependency in benchmarks/ directory.

HttpClientListSerializationBenchmark(RunTime): 10462919.0 us.
RestClientListSerializationBenchmark(RunTime): 10433037.0 us.
RestClientListAsyncSerializationBenchmark(RunTime): 10651653.0 us.
HttpClientSingleSerializationBenchmark(RunTime): 313983.85714285716 us.
RestClientSingleSerializationBenchmark(RunTime): 314514.85714285716 us.
RestClientSingleAsyncSerializationBenchmark(RunTime): 313982.4285714286 us.

Benchmarks last updated on 15 June, 2023.

7
likes
0
pub points
11%
popularity

Publisher

verified publishermagnificsoftware.com

A simple library for composing HTTP clients, creating services to make HTTP requests.

Repository (GitHub)
View/report issues

Topics

#network #http #rest #client

License

unknown (LICENSE)

Dependencies

collection, http, meta, quiver

More

Packages that depend on handle