Enums

The following enums are available globally.

  • Represents the HTTP method used to issue a request.

    See more

    Declaration

    Swift

    public enum HTTPRequestMethod
  • Meaningful values for some of the common HTTP response codes.

    Note that not every HTTP code is represented here; those that aren’t can be stored in the .Other case.

    See more

    Declaration

    Swift

    public enum HTTPResponseStatus