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
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -99,19 +99,19 @@ 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
-
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. */
102
+
staticcharHttpStatus_isInformational(intcode) { return (code >= 100&&code<200); } /*!< \returns \c true if the given \p code is an informational code. */
103
+
staticcharHttpStatus_isSuccessful(intcode) { return (code >= 200&&code<300); } /*!< \returns \c true if the given \p code is a successful code. */
104
+
staticcharHttpStatus_isRedirection(intcode) { return (code >= 300&&code<400); } /*!< \returns \c true if the given \p code is a redirectional code. */
105
+
staticcharHttpStatus_isClientError(intcode) { return (code >= 400&&code<500); } /*!< \returns \c true if the given \p code is a client error code. */
106
+
staticcharHttpStatus_isServerError(intcode) { return (code >= 500&&code<600); } /*!< \returns \c true if the given \p code is a server error code. */
107
+
staticcharHttpStatus_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.
110
110
* \param code An HTTP status code.
111
111
* \return The standard HTTP reason phrase for the given \p code or \c NULL if no standard
0 commit comments