h4 1.0.0 copy "h4: ^1.0.0" to clipboard
h4: ^1.0.0 copied to clipboard

retracted

A minimal HTTP library for dart

0.0.1 #

  • Initial development release.

1.0.0 - 2024-05-29 #

  • Initial Stable Release

Breaking Changes

  • The createError exception in the http library now expects the error message as a String and the error code as an int, instead of a Map<String, dynamic> containing these two values. The signature has changed from createError(Map<String, dynamic> errorData) to createError(String message, int? errorCode). Where error code defaults to 400.

Added

  • onError and onRequest middleware.
  • Awaiting the result of asynchronous Event Handlers.
3
likes
0
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

A minimal HTTP library for dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

extension_type_unions, http2, meta

More

Packages that depend on h4