http_status 3.3.3 copy "http_status: ^3.3.3" to clipboard
http_status: ^3.3.3 copied to clipboard

Constants enumerating the HTTP status codes in Dart. All status codes defined in RFC1945 (HTTP/1.0, RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_status

With Flutter:

 $ flutter pub add http_status

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  http_status: ^3.3.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:http_status/http_status.dart';
4
likes
160
points
379
downloads

Publisher

verified publisherandcan.dev

Weekly Downloads

Constants enumerating the HTTP status codes in Dart. All status codes defined in RFC1945 (HTTP/1.0, RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported.

Repository (GitHub)
View/report issues

Topics

#http-status

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

meta

More

Packages that depend on http_status