Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Http\Status class

Class Status

Constants

public ACCEPTED = 202 public ALREADY_REPORTED = 208 public BAD_GATEWAY = 502 public BAD_REQUEST = 400 public CONFLICT = 409 public CONTINUE = 100 public CREATED = 201 public EARLY_HINTS = 103 public EXPECTATION_FAILED = 417 public FAILED_DEPENDENCY = 424 public FORBIDDEN = 403 public GATEWAY_TIME_OUT = 504 public GONE = 410 public IM_USED = 226 public INSUFFICIENT_STORAGE = 507 public INTERNAL_SERVER_ERROR = 500 public I_AM_A_TEAPOT = 418 public LENGTH_REQUIRED = 411 public LOCKED = 423 public LOOP_DETECTED = 508 public MISDIRECTED_REQUEST = 421 public MOVED_PERMANENTLY = 301 public MOVED_TEMPORARILY = 302 public MULTI_STATUS = 207 public NETWORK_AUTHENTICATION_REQUIRED = 511 public NONE_AUTHORITATIVE_INFORMATION = 203 public NOT_ACCEPTABLE = 406 public NOT_ALLOWED = 405 public NOT_EXTENDED = 510 public NOT_FOUND = 404 public NOT_IMPLEMENTED = 501 public NOT_MODIFIED = 304 public NO_CONTENT = 204 public OK = 200 public PARTIAL_CONTENT = 206 public PAYMENT_REQUIRED = 402 public PERMANENT_REDIRECT = 308 public PRECONDITION_FAILED = 412 public PROCESSING = 102 public PROXY_AUTHENTICATION_REQUIRED = 407 public REQUEST_ENTITY_TOO_LARGE = 413 public REQUEST_HEADER_FIELDS_TOO_LARGE = 431 public REQUEST_RANGE_NOT_SATISFIABLE = 416 public REQUEST_TIME_OUT = 408 public REQUEST_URI_TOO_LARGE = 414 public RESET_CONTENT = 205 public SEE_OTHER = 303 public SERVICE_UNAVAILABLE = 503 public SPECIAL_RESPONSE = 300 public SWITCHING_PROTOCOLS = 101 public TEMPORARY_REDIRECT = 307 public TOO_EARLY = 425 public TOO_MANY_REQUESTS = 429 public UNAUTHORIZED = 401 public UNAVAILABLE_FOR_LEGAL_REASONS = 451 public UNPROCESSABLE_ENTITY = 422 public UNSUPPORTED_MEDIA_TYPE = 415 public UPGRADE_REQUIRED = 426 public VARIANT_ALSO_NEGOTIATES = 506 public VERSION_NOT_SUPPORTED = 505

Methods

Static method getReasonPhraseOf

public static function getReasonPhraseOf ( int $statusCode ) : string

Copyright 2022 the Swow contributors