HTTPResponseStatus

public enum HTTPResponseStatus

A HTTP response status code.

  • The numerical status code for a given HTTP response status.

    Declaration

    Swift

    public var code: UInt { get }
  • The string reason phrase for a given HTTP response status.

    Declaration

    Swift

    public var reasonPhrase: String { get }
  • Declaration

    Swift

    public static func == (lhs: HTTPResponseStatus, rhs: HTTPResponseStatus) -> Bool