Nebula
|
#include <httpstatus.h>
HTTP status code enumeration (e.g.
404 Not Found).
Public Types | |
enum | Code { Continue = 100 , OK = 200 , BadRequest = 400 , Forbidden = 403 , NotFound = 404 , MethodNotAllowed = 405 , NotAcceptable = 406 , InternalServerError = 500 , NotImplemented = 501 , ServiceUnavailable = 503 , InvalidHttpStatus = 0xffff } |
status codes More... | |
Static Public Member Functions | |
static Code | FromString (const Util::String &str) |
convert from string | |
static Util::String | ToString (Code c) |
convert to string | |
static Code | FromLong (long l) |
convert from long | |
static Util::String | ToHumanReadableString (Code c) |
convert code to human readable string | |
|
static |
convert from long
|
static |
convert from string
convert code to human readable string