http_status 3.3.0 copy "http_status: ^3.3.0" to clipboard
http_status: ^3.3.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

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.0

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';
3
likes
140
pub points
66%
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
API reference

License

BSD-3-Clause (LICENSE)

Dependencies

meta

More

Packages that depend on http_status