Class
public enum Class
The class of a HTTPStatusCode code
See
https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml for more information-
Informational: the request was received, and is continuing to be processed
Declaration
Swift
case informational -
Success: the action was successfully received, understood, and accepted
Declaration
Swift
case successful -
Redirection: further action must be taken in order to complete the request
Declaration
Swift
case redirection -
Client Error: the request contains bad syntax or cannot be fulfilled
Declaration
Swift
case clientError -
Server Error: the server failed to fulfill an apparently valid request
Declaration
Swift
case serverError -
Invalid: the code does not map to a well known status code class
Declaration
Swift
case invalidStatus
View on GitHub
Class Enumeration Reference