You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HttpStatusCodes_C.h
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,12 @@ enum HttpStatus_Code
99
99
HttpStatus_NetworkAuthenticationRequired=511/*!< Indicates that the client needs to authenticate to gain network access. *///!< HttpStatus_NetworkAuthenticationRequired
100
100
};
101
101
102
-
inlineintHttpStatus_isInformational(intcode) { return (code >= 100&&code<200); } /*!< \returns \c true if the given \p code is an informational code. */
103
-
inlineintHttpStatus_isSuccessful(intcode) { return (code >= 200&&code<300); } /*!< \returns \c true if the given \p code is a successful code. */
104
-
inlineintHttpStatus_isRedirection(intcode) { return (code >= 300&&code<400); } /*!< \returns \c true if the given \p code is a redirectional code. */
105
-
inlineintHttpStatus_isClientError(intcode) { return (code >= 400&&code<500); } /*!< \returns \c true if the given \p code is a client error code. */
106
-
inlineintHttpStatus_isServerError(intcode) { return (code >= 500&&code<600); } /*!< \returns \c true if the given \p code is a server error code. */
107
-
inlineintHttpStatus_isError(intcode) { return (code >= 400); } /*!< \returns \c true if the given \p code is any type of error code. */
102
+
inlinecharHttpStatus_isInformational(intcode) { return (code >= 100&&code<200); } /*!< \returns \c true if the given \p code is an informational code. */
103
+
inlinecharHttpStatus_isSuccessful(intcode) { return (code >= 200&&code<300); } /*!< \returns \c true if the given \p code is a successful code. */
104
+
inlinecharHttpStatus_isRedirection(intcode) { return (code >= 300&&code<400); } /*!< \returns \c true if the given \p code is a redirectional code. */
105
+
inlinecharHttpStatus_isClientError(intcode) { return (code >= 400&&code<500); } /*!< \returns \c true if the given \p code is a client error code. */
106
+
inlinecharHttpStatus_isServerError(intcode) { return (code >= 500&&code<600); } /*!< \returns \c true if the given \p code is a server error code. */
107
+
inlinecharHttpStatus_isError(intcode) { return (code >= 400); } /*!< \returns \c true if the given \p code is any type of error code. */
108
108
109
109
/*! Returns the standard HTTP reason phrase for a HTTP status code.
0 commit comments