https://github.com/mikemitterer/dart-httpstatuscodes
https://github.com/mikemitterer/dart-httpstatuscodes
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikemitterer/dart-httpstatuscodes
- Owner: MikeMitterer
- Created: 2012-05-16T13:59:57.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-25T07:52:53.000Z (about 14 years ago)
- Last Synced: 2025-07-16T06:44:20.847Z (about 1 year ago)
- Language: Dart
- Size: 101 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DART-HttpStatusCodes
====================
HTTP status codes for Dart.
class HttpStatus {
/** Status-Code: 0 (Communication with Server failed) */
static final int HTTP_COMMUNICATION_FAILED = 0;
static final int HTTP_0_COMMUNICATION_FAILED = 0;
/** HTTP Status-Code: 200 (OK) */
static final int HTTP_OK = 200;
static final int HTTP_200_OK = 200;
/** HTTP Status-Code: 201 (Created) */
static final int HTTP_CREATED = 201;
static final int HTTP_201_CREATED = 201;
... all the other codes are in the .dart-file
}
Hope this helps someone.
If you ask yourself what the f*** is Dart - then click [dartlang] for
more information about this great new language from Google.
If this sample is helpful for you - please (Circle) me.