DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
HttpStatusCode.h
Go to the documentation of this file.
1
3
4#pragma once
5
6namespace DotNetDupe {
7 namespace System {
8 namespace Net {
13 enum class HttpStatusCode {
15 Continue = 100,
19 OK = 200,
21 Created = 201,
23 Accepted = 202,
25 NoContent = 204,
29 Ambiguous = 300,
31 Moved = 301,
32 Found = 302,
33 Redirect = 302,
34 SeeOther = 303,
37 UseProxy = 305,
38 Unused = 306,
45 Forbidden = 403,
46 NotFound = 404,
51 Conflict = 409,
52 Gone = 410,
62 Locked = 423,
80 };
81 }
82 }
83}
HttpStatusCode
Contains the values of status codes defined for HTTP in RFC 9110 and RFC 7231.
@ Created
Equivalent to HTTP status 201. Indicates that the request resulted in a new resource created.
@ Accepted
Equivalent to HTTP status 202. Indicates that the request has been accepted for further processing.
@ SwitchingProtocols
Equivalent to HTTP status 101. Indicates that the protocol version is being changed.
@ Continue
Equivalent to HTTP status 100. Indicates that the client can continue with its request.
@ OK
Equivalent to HTTP status 200. Indicates that the request succeeded.