http_status 3.0.0 copy "http_status: ^3.0.0" to clipboard
http_status: ^3.0.0 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

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

dependencies:
  http_status: ^3.0.0

Alternatively, your editor might support dart 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
0
pub points
69%
popularity

Publisher

verified publisherandcan.dev

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

License

unknown (LICENSE)

More

Packages that depend on http_status