SwiftstructNetwork

struct Network.HTTPResponse.Status

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 56

  1. varstatic var accepted: Network.HTTPResponse.Status { get }
  2. varstatic var badGateway: Network.HTTPResponse.Status { get }
  3. varstatic var badRequest: Network.HTTPResponse.Status { get }
  4. varstatic var conflict: Network.HTTPResponse.Status { get }
  5. varstatic var contentTooLarge: Network.HTTPResponse.Status { get }
  6. varstatic var continue: Network.HTTPResponse.Status { get }
  7. varstatic var created: Network.HTTPResponse.Status { get }
  8. varstatic var earlyHints: Network.HTTPResponse.Status { get }
  9. varstatic var expectationFailed: Network.HTTPResponse.Status { get }
  10. varstatic var forbidden: Network.HTTPResponse.Status { get }
  11. varstatic var found: Network.HTTPResponse.Status { get }
  12. varstatic var gatewayTimeout: Network.HTTPResponse.Status { get }
  13. varstatic var gone: Network.HTTPResponse.Status { get }
  14. varstatic var httpVersionNotSupported: Network.HTTPResponse.Status { get }
  15. varstatic var internalServerError: Network.HTTPResponse.Status { get }
  16. varstatic var lengthRequired: Network.HTTPResponse.Status { get }
  17. varstatic var methodNotAllowed: Network.HTTPResponse.Status { get }
  18. varstatic var misdirectedRequest: Network.HTTPResponse.Status { get }
  19. varstatic var movedPermanently: Network.HTTPResponse.Status { get }
  20. varstatic var multipleChoices: Network.HTTPResponse.Status { get }
  21. varstatic var networkAuthenticationRequired: Network.HTTPResponse.Status { get }
  22. varstatic var noContent: Network.HTTPResponse.Status { get }
  23. varstatic var nonAuthoritativeInformation: Network.HTTPResponse.Status { get }
  24. varstatic var notAcceptable: Network.HTTPResponse.Status { get }
  25. varstatic var notFound: Network.HTTPResponse.Status { get }
  26. varstatic var notImplemented: Network.HTTPResponse.Status { get }
  27. varstatic var notModified: Network.HTTPResponse.Status { get }
  28. varstatic var ok: Network.HTTPResponse.Status { get }
  29. varstatic var partialContent: Network.HTTPResponse.Status { get }
  30. varstatic var permanentRedirect: Network.HTTPResponse.Status { get }
  31. varstatic var preconditionFailed: Network.HTTPResponse.Status { get }
  32. varstatic var preconditionRequired: Network.HTTPResponse.Status { get }
  33. varstatic var proxyAuthenticationRequired: Network.HTTPResponse.Status { get }
  34. varstatic var rangeNotSatisfiable: Network.HTTPResponse.Status { get }
  35. varstatic var requestHeaderFieldsTooLarge: Network.HTTPResponse.Status { get }
  36. varstatic var requestTimeout: Network.HTTPResponse.Status { get }
  37. varstatic var resetContent: Network.HTTPResponse.Status { get }
  38. varstatic var seeOther: Network.HTTPResponse.Status { get }
  39. varstatic var serviceUnavailable: Network.HTTPResponse.Status { get }
  40. varstatic var switchingProtocols: Network.HTTPResponse.Status { get }
  41. varstatic var temporaryRedirect: Network.HTTPResponse.Status { get }
  42. varstatic var tooEarly: Network.HTTPResponse.Status { get }
  43. varstatic var tooManyRequests: Network.HTTPResponse.Status { get }
  44. varstatic var unauthorized: Network.HTTPResponse.Status { get }
  45. varstatic var unavailableForLegalReasons: Network.HTTPResponse.Status { get }
  46. varstatic var unprocessableContent: Network.HTTPResponse.Status { get }
  47. varstatic var unsupportedMediaType: Network.HTTPResponse.Status { get }
  48. varstatic var upgradeRequired: Network.HTTPResponse.Status { get }
  49. varstatic var uriTooLong: Network.HTTPResponse.Status { get }
  50. fieldlet code: Int+0x0
  51. fieldlet reasonPhrase: String+0x8
  52. initinit(integerLiteral: Int) -> Network.HTTPResponse.Status
  53. initinit(code: Int, reasonPhrase: String) -> Network.HTTPResponse.Status
  54. typealiastypealias IntegerLiteralType = Swift.Int
  55. varvar description: String { get }
  56. varvar kind: Network.HTTPResponse.Status.Kind { get }
struct Network.HTTPResponse.Status {
    enum Kind {
        case invalid
        case informational
        case successful
        case redirection
        case clientError
        case serverError
    }
    let code: Swift.Int
    let reasonPhrase: Swift.String

    init(integerLiteral: Swift.Int)
    init(code: Swift.Int, reasonPhrase: Swift.String)

    var description: Swift.String {
        get
    }
    var kind: Network.HTTPResponse.Status.Kind {
        get
    }

    static var accepted: Network.HTTPResponse.Status {
        get
    }
    static var badGateway: Network.HTTPResponse.Status {
        get
    }
    static var badRequest: Network.HTTPResponse.Status {
        get
    }
    static var conflict: Network.HTTPResponse.Status {
        get
    }
    static var contentTooLarge: Network.HTTPResponse.Status {
        get
    }
    static var continue: Network.HTTPResponse.Status {
        get
    }
    static var created: Network.HTTPResponse.Status {
        get
    }
    static var earlyHints: Network.HTTPResponse.Status {
        get
    }
    static var expectationFailed: Network.HTTPResponse.Status {
        get
    }
    static var forbidden: Network.HTTPResponse.Status {
        get
    }
    static var found: Network.HTTPResponse.Status {
        get
    }
    static var gatewayTimeout: Network.HTTPResponse.Status {
        get
    }
    static var gone: Network.HTTPResponse.Status {
        get
    }
    static var httpVersionNotSupported: Network.HTTPResponse.Status {
        get
    }
    static var internalServerError: Network.HTTPResponse.Status {
        get
    }
    static var lengthRequired: Network.HTTPResponse.Status {
        get
    }
    static var methodNotAllowed: Network.HTTPResponse.Status {
        get
    }
    static var misdirectedRequest: Network.HTTPResponse.Status {
        get
    }
    static var movedPermanently: Network.HTTPResponse.Status {
        get
    }
    static var multipleChoices: Network.HTTPResponse.Status {
        get
    }
    static var networkAuthenticationRequired: Network.HTTPResponse.Status {
        get
    }
    static var noContent: Network.HTTPResponse.Status {
        get
    }
    static var nonAuthoritativeInformation: Network.HTTPResponse.Status {
        get
    }
    static var notAcceptable: Network.HTTPResponse.Status {
        get
    }
    static var notFound: Network.HTTPResponse.Status {
        get
    }
    static var notImplemented: Network.HTTPResponse.Status {
        get
    }
    static var notModified: Network.HTTPResponse.Status {
        get
    }
    static var ok: Network.HTTPResponse.Status {
        get
    }
    static var partialContent: Network.HTTPResponse.Status {
        get
    }
    static var permanentRedirect: Network.HTTPResponse.Status {
        get
    }
    static var preconditionFailed: Network.HTTPResponse.Status {
        get
    }
    static var preconditionRequired: Network.HTTPResponse.Status {
        get
    }
    static var proxyAuthenticationRequired: Network.HTTPResponse.Status {
        get
    }
    static var rangeNotSatisfiable: Network.HTTPResponse.Status {
        get
    }
    static var requestHeaderFieldsTooLarge: Network.HTTPResponse.Status {
        get
    }
    static var requestTimeout: Network.HTTPResponse.Status {
        get
    }
    static var resetContent: Network.HTTPResponse.Status {
        get
    }
    static var seeOther: Network.HTTPResponse.Status {
        get
    }
    static var serviceUnavailable: Network.HTTPResponse.Status {
        get
    }
    static var switchingProtocols: Network.HTTPResponse.Status {
        get
    }
    static var temporaryRedirect: Network.HTTPResponse.Status {
        get
    }
    static var tooEarly: Network.HTTPResponse.Status {
        get
    }
    static var tooManyRequests: Network.HTTPResponse.Status {
        get
    }
    static var unauthorized: Network.HTTPResponse.Status {
        get
    }
    static var unavailableForLegalReasons: Network.HTTPResponse.Status {
        get
    }
    static var unprocessableContent: Network.HTTPResponse.Status {
        get
    }
    static var unsupportedMediaType: Network.HTTPResponse.Status {
        get
    }
    static var upgradeRequired: Network.HTTPResponse.Status {
        get
    }
    static var uriTooLong: Network.HTTPResponse.Status {
        get
    }
}