HttpStatusCode.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. //
  2. // HttpStatusCode.cs
  3. // Copied from System.Net.HttpStatusCode.cs
  4. //
  5. // This code was automatically generated from
  6. // ECMA CLI XML Library Specification.
  7. // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
  8. // Created: Wed, 5 Sep 2001 06:32:05 UTC
  9. // Source file: AllTypes.xml
  10. // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
  11. //
  12. // Copyright (C) 2001 Ximian, Inc. (http://www.ximian.com)
  13. //
  14. // Permission is hereby granted, free of charge, to any person obtaining
  15. // a copy of this software and associated documentation files (the
  16. // "Software"), to deal in the Software without restriction, including
  17. // without limitation the rights to use, copy, modify, merge, publish,
  18. // distribute, sublicense, and/or sell copies of the Software, and to
  19. // permit persons to whom the Software is furnished to do so, subject to
  20. // the following conditions:
  21. //
  22. // The above copyright notice and this permission notice shall be
  23. // included in all copies or substantial portions of the Software.
  24. //
  25. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  26. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  27. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  28. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  29. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  30. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  31. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  32. //
  33. namespace WebSocketSharp.Net {
  34. public enum HttpStatusCode {
  35. Continue = 100,
  36. SwitchingProtocols = 101,
  37. OK = 200,
  38. Created = 201,
  39. Accepted = 202,
  40. NonAuthoritativeInformation = 203,
  41. NoContent = 204,
  42. ResetContent = 205,
  43. PartialContent = 206,
  44. MultipleChoices = 300,
  45. Ambiguous = 300,
  46. MovedPermanently = 301,
  47. Moved = 301,
  48. Found = 302,
  49. Redirect = 302,
  50. SeeOther = 303,
  51. RedirectMethod = 303,
  52. NotModified = 304,
  53. UseProxy = 305,
  54. Unused = 306,
  55. TemporaryRedirect = 307,
  56. RedirectKeepVerb = 307,
  57. BadRequest = 400,
  58. Unauthorized = 401,
  59. PaymentRequired = 402,
  60. Forbidden = 403,
  61. NotFound = 404,
  62. MethodNotAllowed = 405,
  63. NotAcceptable = 406,
  64. ProxyAuthenticationRequired = 407,
  65. RequestTimeout = 408,
  66. Conflict = 409,
  67. Gone = 410,
  68. LengthRequired = 411,
  69. PreconditionFailed = 412,
  70. RequestEntityTooLarge = 413,
  71. RequestUriTooLong = 414,
  72. UnsupportedMediaType = 415,
  73. RequestedRangeNotSatisfiable = 416,
  74. ExpectationFailed = 417,
  75. InternalServerError = 500,
  76. NotImplemented = 501,
  77. BadGateway = 502,
  78. ServiceUnavailable = 503,
  79. GatewayTimeout = 504,
  80. HttpVersionNotSupported = 505,
  81. }
  82. }