Enumerations

The following enumerations are available globally.

  • An error enum used when throwing errors within KituraNet.

    See more

    Declaration

    Swift

    public enum Error : Swift.Error
    extension Error: CustomStringConvertible

HTTP

  • HTTP status codes and numbers.

    Usage Example:

    var httpStatusCode: HTTPStatusCode = .unknown
    
    See more

    Declaration

    Swift

    public enum HTTPStatusCode : Int
  • Undocumented

    See more

    Declaration

    Swift

    public enum KeepAliveState
  • Enum defining possible server states.

    See more

    Declaration

    Swift

    public enum ServerState